|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.datetime.DateTimeFormatUtils
public class DateTimeFormatUtils
Helper methods for dealing with the configured date and date-time formats.
Constructor Summary | |
---|---|
DateTimeFormatUtils()
|
Method Summary | |
---|---|
static String |
getDateFormat()
Returns the configured Javascript date picker format. |
static String |
getDateTimeFormat()
Returns the configured Javascript date-time picker format. |
static String |
getTimeFormat()
Returns "12" or "24" from the Javascript date-time picker format. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DateTimeFormatUtils()
Method Detail |
---|
public static String getDateFormat()
ie the format stored in the "jira.date.picker.javascript.format" application property.
public static String getDateTimeFormat()
ie the format stored in the "jira.date.time.picker.javascript.format" application property.
public static String getTimeFormat()
getDateTimeFormat()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |