Uses of Enum Class
com.ethlo.time.Field
Packages that use Field
Package
Description
-
Uses of Field in com.ethlo.time
Fields in com.ethlo.time declared as FieldMethods in com.ethlo.time that return FieldModifier and TypeMethodDescriptionDateTime.getMostGranularField()
Returns the most granular field found during parsingstatic Field
Field.of
(TemporalField temporalField) static Field
Returns the enum constant of this class with the specified name.static Field
Returns the enum constant of this class with the specified name.static Field[]
Field.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.ethlo.time with parameters of type FieldModifier and TypeMethodDescriptionprivate void
DateTime.assertMinGranularity
(Field field) static DateTimeToken
static String
ITU.formatUtc
(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 String
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 FieldModifierConstructorDescriptionDateTime
(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 FieldModifier and TypeMethodDescriptionprivate static String
ITUFormatter.doFormat
(OffsetDateTime date, ZoneOffset adjustTo, Field lastIncluded, int fractionDigits) static String
ITUFormatter.formatUtc
(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 FieldMethods in com.ethlo.time.internal.token that return FieldModifier and TypeMethodDescriptionDigitsToken.getField()
FractionsToken.getField()
ZoneOffsetToken.getField()
Constructors in com.ethlo.time.internal.token with parameters of type Field -
Uses of Field in com.ethlo.time.internal.util
Methods in com.ethlo.time.internal.util with parameters of type FieldModifier and TypeMethodDescriptionstatic void
ErrorUtil.assertPositionContains
(Field field, String chars, int index, char expected) static DateTimeParseException
ErrorUtil.raiseMissingGranularity
(Field field, String chars, int offset) -
Uses of Field in com.ethlo.time.token
Methods in com.ethlo.time.token that return Field