Uses of Enum
com.ethlo.time.Field

  • Uses of Field in com.ethlo.time

    Methods in com.ethlo.time that return Field
    Modifier and Type
    Method
    Description
    Returns the most granular field found during parsing
    static Field
    Field.of(TemporalField temporalField)
     
    static Field
    Field.valueOf(Class<? extends Temporal> type)
    Returns the enum constant of this type with the specified name.
    static Field
    Field.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 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-time
    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
    Modifier
    Constructor
    Description
     
    DateTime(Field field, int year, int month, int day, int hour, int minute, int second, int nano, TimezoneOffset offset, int fractionDigits)