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 FieldDateTime. fieldMethods in com.ethlo.time that return Field Modifier and Type Method Description FieldDateTime. getMostGranularField()Returns the most granular field found during parsingstatic FieldField. of(java.time.temporal.TemporalField temporalField)static FieldField. valueOf(java.lang.Class<? extends java.time.temporal.Temporal> type)Returns the enum constant of this type with the specified name.static FieldField. 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 voidDateTime. assertMinGranularity(Field field)static DateTimeTokenDateTimeTokens. digits(Field field, int length)static java.lang.StringITU. 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.booleanDateTime. includesGranularity(Field field)Returns if the specified field is part of this date/date-timeprivate java.lang.StringDateTime. toString(DateTime date, Field lastIncluded, int fractionDigits)java.lang.StringDateTime. 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.StringITUFormatter. doFormat(java.time.OffsetDateTime date, java.time.ZoneOffset adjustTo, Field lastIncluded, int fractionDigits)static java.lang.StringITUFormatter. formatUtc(java.time.OffsetDateTime date, Field lastIncluded)private static booleanITUFormatter. 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 FieldDigitsToken. fieldMethods in com.ethlo.time.internal.token that return Field Modifier and Type Method Description FieldDigitsToken. getField()FieldFractionsToken. getField()FieldZoneOffsetToken. 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 voidErrorUtil. assertPositionContains(Field field, java.lang.String chars, int index, char expected)static java.time.format.DateTimeParseExceptionErrorUtil. 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 FieldDateTimeToken. getField()
-