Package com.ethlo.time.internal.fixed
Class ITUParser
java.lang.Object
com.ethlo.time.internal.fixed.ITUParser
- All Implemented Interfaces:
DateTimeParser
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final charDefault date field seperatorstatic final intstatic final charstatic final intstatic final charstatic final charstatic final intstatic final charDefault date/time seperator lower-casestatic final charAlternative date/time seperatorstatic final charDefault date/time seperatorstatic final charDefault time field seperatorstatic final charstatic final char -
Method Summary
Modifier and TypeMethodDescriptionstatic DateTimeParserparse(String text, ParsePosition parsePosition) Parse the text from the given position of the parsePositionstatic OffsetDateTimeparseDateTime(String chars, int offset) static DateTimeparseLenient(String chars, ParseConfig parseConfig, int offset) static DateTimeparseLenient(String text, ParseConfig parseConfig, ParsePosition position) static intsanityCheckInputParams(String chars, int offset)
-
Field Details
-
DATE_SEPARATOR
public static final char DATE_SEPARATORDefault date field seperator- See Also:
-
TIME_SEPARATOR
public static final char TIME_SEPARATORDefault time field seperator- See Also:
-
SEPARATOR_UPPER
public static final char SEPARATOR_UPPERDefault date/time seperator- See Also:
-
SEPARATOR_LOWER
public static final char SEPARATOR_LOWERDefault date/time seperator lower-case- See Also:
-
SEPARATOR_SPACE
public static final char SEPARATOR_SPACEAlternative date/time seperator- See Also:
-
PLUS
public static final char PLUS- See Also:
-
MINUS
public static final char MINUS- See Also:
-
FRACTION_SEPARATOR
public static final char FRACTION_SEPARATOR- See Also:
-
ZULU_UPPER
public static final char ZULU_UPPER- See Also:
-
ZULU_LOWER
public static final char ZULU_LOWER- See Also:
-
MAX_FRACTION_DIGITS
public static final int MAX_FRACTION_DIGITS- See Also:
-
RADIX
public static final int RADIX- See Also:
-
DIGITS_IN_NANO
public static final int DIGITS_IN_NANO- See Also:
-
-
Method Details
-
parseLenient
-
sanityCheckInputParams
-
parseDateTime
-
parseLenient
-
getInstance
-
parse
Description copied from interface:DateTimeParserParse the text from the given position of the parsePosition- Specified by:
parsein interfaceDateTimeParser- Parameters:
text- The text to parseparsePosition- The position in which to start- Returns:
- A DateTime holding the parsed data
-
parse
- Specified by:
parsein interfaceDateTimeParser
-