新增 YearQuarter#getQuarterValue

This commit is contained in:
zhouxy108 2024-12-24 09:31:21 +08:00
parent 33e1c14755
commit c78a2ab380

View File

@ -138,11 +138,15 @@ public final class YearQuarter implements Comparable<YearQuarter>, Serializable
// #region - Getters // #region - Getters
public int getYear() { public int getYear() {
return year; return this.year;
} }
public Quarter getQuarter() { public Quarter getQuarter() {
return quarter; return this.quarter;
}
public int getQuarterValue() {
return this.quarter.getValue();
} }
public YearMonth firstYearMonth() { public YearMonth firstYearMonth() {