|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jminor.common.model.formats.DateFormats
public final class DateFormats
A collection of date format strings.
Field Summary | |
---|---|
static String |
COMPACT
ddMMyy |
static String |
COMPACT_DASH
dd-MM-yy |
static String |
COMPACT_DOT
dd.MM.yy |
static String |
COMPACT_TIMESTAMP
ddMMyy HH:mm |
static String |
EXACT_TIMESTAMP
dd-MM-yyyy HH:mm:ss.SSS |
static String |
FULL_TIMESTAMP
dd-MM-yyyy HH:mm:ss |
static String |
SHORT_DASH
dd-MM-yyyy |
static String |
SHORT_DOT
dd.MM.yyyy |
static String |
SHORT_TIME
HH:mm |
static String |
SHORT_TIMESTAMP
dd-MM-yy HH:mm |
static String |
TIMESTAMP
dd-MM-yyyy HH:mm |
Method Summary | |
---|---|
static SimpleDateFormat |
getDateFormat(String formatString)
Instantiates a non-lenient date format |
static SimpleDateFormat |
getDateFormat(String formatString,
boolean lenient)
Instantiates a date format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String COMPACT_DASH
public static final String COMPACT
public static final String COMPACT_DOT
public static final String SHORT_DASH
public static final String SHORT_DOT
public static final String SHORT_TIME
public static final String TIMESTAMP
public static final String COMPACT_TIMESTAMP
public static final String SHORT_TIMESTAMP
public static final String EXACT_TIMESTAMP
public static final String FULL_TIMESTAMP
Method Detail |
---|
public static SimpleDateFormat getDateFormat(String formatString)
formatString
- the format string
public static SimpleDateFormat getDateFormat(String formatString, boolean lenient)
formatString
- the format stringlenient
- the lenient status
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |