Uses of Enum
org.threeten.extra.Half

Packages that use Half
Package
Description
Value types and utilities that extend java.time.*.
  • Uses of Half in org.threeten.extra

    Methods in org.threeten.extra that return Half
    Modifier and Type
    Method
    Description
    static Half
    Half.from(TemporalAccessor temporal)
    Obtains an instance of Half from a temporal object.
    YearHalf.getHalf()
    Gets the half-of-year field using the Half enum.
    Half.minus(long halves)
    Returns the half that is the specified number of halves before this one.
    static Half
    Half.of(int halfOfYear)
    Obtains an instance of Half from an int value.
    static Half
    Half.ofMonth(int monthOfYear)
    Obtains an instance of Half from a month-of-year.
    Half.plus(long halves)
    Returns the half that is the specified number of halves after this one.
    static Half
    Half.valueOf(String name)
    Returns the enum constant of this type with the specified name.
    static Half[]
    Half.values()
    Returns an array containing the constants of this enum type, in the order they are declared.
    Methods in org.threeten.extra with parameters of type Half
    Modifier and Type
    Method
    Description
    static YearHalf
    YearHalf.of(int year, Half half)
    Obtains an instance of YearHalf from a year and half.
    static YearHalf
    YearHalf.of(Year year, Half half)
    Obtains an instance of YearHalf from a year and half.