Uses of Class
org.threeten.extra.YearHalf
Packages that use YearHalf
-
Uses of YearHalf in org.threeten.extra
Methods in org.threeten.extra that return YearHalfModifier and TypeMethodDescriptionstatic YearHalfYearHalf.from(TemporalAccessor temporal) Obtains an instance ofYearHalffrom a temporal object.YearHalf.minus(long amountToSubtract, TemporalUnit unit) Returns a copy of this year-half with the specified amount subtracted.YearHalf.minus(TemporalAmount amountToSubtract) Returns a copy of this year-half with the specified amount subtracted.YearHalf.minusHalves(long halvesToSubtract) Returns a copy of this year-half with the specified period in halves subtracted.YearHalf.minusYears(long yearsToSubtract) Returns a copy of this year-half with the specified period in years subtracted.static YearHalfYearHalf.now()Obtains the current year-half from the system clock in the default time-zone.static YearHalfObtains the current year-half from the specified clock.static YearHalfObtains the current year-half from the system clock in the specified time-zone.static YearHalfYearHalf.of(int year, int half) Obtains an instance ofYearHalffrom a year and half.static YearHalfObtains an instance ofYearHalffrom a year and half.static YearHalfObtains an instance ofYearHalffrom a year and half.static YearHalfObtains an instance ofYearHalffrom a year and half.static YearHalfYearHalf.parse(CharSequence text) Obtains an instance ofYearHalffrom a text string such as2007-H2.static YearHalfYearHalf.parse(CharSequence text, DateTimeFormatter formatter) Obtains an instance ofYearHalffrom a text string using a specific formatter.YearHalf.plus(long amountToAdd, TemporalUnit unit) Returns a copy of this year-half with the specified amount added.YearHalf.plus(TemporalAmount amountToAdd) Returns a copy of this year-half with the specified amount added.YearHalf.plusHalves(long halvesToAdd) Returns a copy of this year-half with the specified period in halves added.YearHalf.plusYears(long yearsToAdd) Returns a copy of this year-half with the specified period in years added.YearHalf.with(TemporalAdjuster adjuster) Returns an adjusted copy of this year-half.YearHalf.with(TemporalField field, long newValue) Returns a copy of this year-half with the specified field set to a new value.YearHalf.withHalf(int half) Returns a copy of thisYearHalfwith the half-of-year altered.YearHalf.withYear(int year) Returns a copy of thisYearHalfwith the year altered.Methods in org.threeten.extra that return types with arguments of type YearHalfModifier and TypeMethodDescriptionYearHalf.halvesUntil(YearHalf endExclusive) Returns a sequential ordered stream of year-half.Methods in org.threeten.extra with parameters of type YearHalfModifier and TypeMethodDescriptionintCompares this year-half to anotherYearHalf.halvesUntil(YearHalf endExclusive) Returns a sequential ordered stream of year-half.booleanIs this year-half after the specified year-half.booleanIs this year-half before the specified year-half.