public class ParsedDateFormat
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
hasSep
true if this format has a separator (or if it has 2 separators). |
java.lang.String |
normalized
Format string with separators converted to the / character.
|
java.lang.String |
original
Original format string.
|
java.lang.String[] |
pieces
Split format string MDY components (but not necessarily in MDY order).
|
char |
sep1
Separator character between the first two date components.
|
char |
sep2
Separator character between the last two date components.
|
int[] |
size
Size of each date component.
|
boolean |
valid
true if parsing was successful. |
Constructor and Description |
---|
ParsedDateFormat(java.lang.String fmt)
Parse the given format and use the parse results to create a new instance.
|
public boolean hasSep
true
if this format has a separator (or if it has 2 separators).public char sep1
public char sep2
public java.lang.String[] pieces
public int[] size
public java.lang.String normalized
public java.lang.String original
public boolean valid
true
if parsing was successful.