Uses of Class
org.threeten.extra.YearQuarter
Packages that use YearQuarter
-
Uses of YearQuarter in org.threeten.extra
Methods in org.threeten.extra that return YearQuarterModifier and TypeMethodDescriptionstatic YearQuarterYearQuarter.from(TemporalAccessor temporal) Obtains an instance ofYearQuarterfrom a temporal object.YearQuarter.minus(long amountToSubtract, TemporalUnit unit) Returns a copy of this year-quarter with the specified amount subtracted.YearQuarter.minus(TemporalAmount amountToSubtract) Returns a copy of this year-quarter with the specified amount subtracted.YearQuarter.minusQuarters(long quartersToSubtract) Returns a copy of this year-quarter with the specified period in quarters subtracted.YearQuarter.minusYears(long yearsToSubtract) Returns a copy of this year-quarter with the specified period in years subtracted.static YearQuarterYearQuarter.now()Obtains the current year-quarter from the system clock in the default time-zone.static YearQuarterObtains the current year-quarter from the specified clock.static YearQuarterObtains the current year-quarter from the system clock in the specified time-zone.static YearQuarterYearQuarter.of(int year, int quarter) Obtains an instance ofYearQuarterfrom a year and quarter.static YearQuarterObtains an instance ofYearQuarterfrom a year and quarter.static YearQuarterObtains an instance ofYearQuarterfrom a year and quarter.static YearQuarterObtains an instance ofYearQuarterfrom a year and quarter.static YearQuarterYearQuarter.parse(CharSequence text) Obtains an instance ofYearQuarterfrom a text string such as2007-Q2.static YearQuarterYearQuarter.parse(CharSequence text, DateTimeFormatter formatter) Obtains an instance ofYearQuarterfrom a text string using a specific formatter.YearQuarter.plus(long amountToAdd, TemporalUnit unit) Returns a copy of this year-quarter with the specified amount added.YearQuarter.plus(TemporalAmount amountToAdd) Returns a copy of this year-quarter with the specified amount added.YearQuarter.plusQuarters(long quartersToAdd) Returns a copy of this year-quarter with the specified period in quarters added.YearQuarter.plusYears(long yearsToAdd) Returns a copy of this year-quarter with the specified period in years added.YearQuarter.with(TemporalAdjuster adjuster) Returns an adjusted copy of this year-quarter.YearQuarter.with(TemporalField field, long newValue) Returns a copy of this year-quarter with the specified field set to a new value.YearQuarter.withQuarter(int quarter) Returns a copy of thisYearQuarterwith the quarter-of-year altered.YearQuarter.withYear(int year) Returns a copy of thisYearQuarterwith the year altered.Methods in org.threeten.extra that return types with arguments of type YearQuarterModifier and TypeMethodDescriptionYearQuarter.quartersUntil(YearQuarter endExclusive) Returns a sequential ordered stream of year-quarter.Methods in org.threeten.extra with parameters of type YearQuarterModifier and TypeMethodDescriptionintYearQuarter.compareTo(YearQuarter other) Compares this year-quarter to anotherbooleanYearQuarter.isAfter(YearQuarter other) Is this year-quarter after the specified year-quarter.booleanYearQuarter.isBefore(YearQuarter other) Is this year-quarter before the specified year-quarter.YearQuarter.quartersUntil(YearQuarter endExclusive) Returns a sequential ordered stream of year-quarter.