Uses of Enum
com.ethlo.time.Field
Packages that use Field
Package
Description
-
Uses of Field in com.ethlo.time
Subclasses with type arguments of type Field in com.ethlo.timeModifier and TypeClassDescriptionenumEnumeration of the fields that makes up the date/date-timeFields 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 FieldField.of(TemporalField temporalField) static FieldReturns the enum constant of this type with the specified name.static FieldReturns 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 FieldModifier and TypeMethodDescriptionprivate voidDateTime.assertMinGranularity(Field field) static DateTimeTokenstatic StringITU.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.booleanDateTime.includesGranularity(Field field) Returns if the specified field is part of this date/date-timeprivate StringFormats 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 StringITUFormatter.doFormat(OffsetDateTime date, ZoneOffset adjustTo, Field lastIncluded, int fractionDigits) static StringITUFormatter.formatUtc(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 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 voidErrorUtil.assertPositionContains(Field field, String chars, int index, char expected) static DateTimeParseExceptionErrorUtil.raiseMissingGranularity(Field field, String chars, int offset) -
Uses of Field in com.ethlo.time.token
Methods in com.ethlo.time.token that return Field