Uses of Class
com.ethlo.time.Field
-
Packages that use Field Package Description com.ethlo.time com.ethlo.time.internal.fixed com.ethlo.time.internal.token com.ethlo.time.internal.util com.ethlo.time.token -
-
Uses of Field in com.ethlo.time
Fields in com.ethlo.time declared as Field Modifier and Type Field Description private Field
DateTime. field
Methods in com.ethlo.time that return Field Modifier and Type Method Description Field
DateTime. getMostGranularField()
Returns the most granular field found during parsingstatic Field
Field. of(java.time.temporal.TemporalField temporalField)
static Field
Field. valueOf(java.lang.Class<? extends java.time.temporal.Temporal> type)
Returns the enum constant of this type with the specified name.static Field
Field. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Field[]
Field. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.ethlo.time with parameters of type Field Modifier and Type Method Description private void
DateTime. assertMinGranularity(Field field)
static DateTimeToken
DateTimeTokens. digits(Field field, int length)
static java.lang.String
ITU. formatUtc(java.time.OffsetDateTime offsetDateTime, Field lastIncluded)
Format the input as an ISO format string, limited to the granularity of the specified field, in the UTC timezone.boolean
DateTime. includesGranularity(Field field)
Returns if the specified field is part of this date/date-timeprivate java.lang.String
DateTime. toString(DateTime date, Field lastIncluded, int fractionDigits)
java.lang.String
DateTime. toString(Field lastIncluded)
Formats this date-time as an ISO formatted string with the last included field as specified.Constructors in com.ethlo.time with parameters of type Field Constructor Description DateTime(Field field, int year, int month, int day, int hour, int minute, int second, int nano, TimezoneOffset offset, int fractionDigits)
DateTime(Field field, int year, int month, int day, int hour, int minute, int second, int nano, TimezoneOffset offset, int fractionDigits, int charLength)
-
Uses of Field in com.ethlo.time.internal.fixed
Methods in com.ethlo.time.internal.fixed with parameters of type Field Modifier and Type Method Description private static java.lang.String
ITUFormatter. doFormat(java.time.OffsetDateTime date, java.time.ZoneOffset adjustTo, Field lastIncluded, int fractionDigits)
static java.lang.String
ITUFormatter. formatUtc(java.time.OffsetDateTime date, Field lastIncluded)
private static boolean
ITUFormatter. handleDatePart(Field lastIncluded, char[] buffer, int value, int offset, int length, Field field)
-
Uses of Field in com.ethlo.time.internal.token
Fields in com.ethlo.time.internal.token declared as Field Modifier and Type Field Description private Field
DigitsToken. field
Methods in com.ethlo.time.internal.token that return Field Modifier and Type Method Description Field
DigitsToken. getField()
Field
FractionsToken. getField()
Field
ZoneOffsetToken. getField()
Constructors in com.ethlo.time.internal.token with parameters of type Field Constructor Description DigitsToken(Field field, int length)
-
Uses of Field in com.ethlo.time.internal.util
Methods in com.ethlo.time.internal.util with parameters of type Field Modifier and Type Method Description static void
ErrorUtil. assertPositionContains(Field field, java.lang.String chars, int index, char expected)
static java.time.format.DateTimeParseException
ErrorUtil. raiseMissingGranularity(Field field, java.lang.String chars, int offset)
-
Uses of Field in com.ethlo.time.token
Methods in com.ethlo.time.token that return Field Modifier and Type Method Description default Field
DateTimeToken. getField()
-