Uses of Class
com.ethlo.time.Field
-
-
Uses of Field in com.ethlo.time
Methods in com.ethlo.time that return Field Modifier and Type Method Description FieldDateTime. getMostGranularField()Returns the most granular field found during parsingstatic FieldField. valueOf(Class<? extends Temporal> type)Returns the enum constant of this type with the specified name.static FieldField. valueOf(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 static 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-timeStringDateTime. 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)
-