diff --git a/src/main/java/xyz/zhouxy/plusone/commons/time/YearQuarter.java b/src/main/java/xyz/zhouxy/plusone/commons/time/YearQuarter.java index aed5093..966c7b9 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/time/YearQuarter.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/time/YearQuarter.java @@ -138,11 +138,15 @@ public final class YearQuarter implements Comparable, Serializable // #region - Getters public int getYear() { - return year; + return this.year; } public Quarter getQuarter() { - return quarter; + return this.quarter; + } + + public int getQuarterValue() { + return this.quarter.getValue(); } public YearMonth firstYearMonth() {