Searched refs:ENUMS (Results 1 – 2 of 2) sorted by relevance
171 private static final Month[] ENUMS = Month.values(); field in Month189 return ENUMS[month - 1]; in of()394 return ENUMS[(ordinal() + (amount + 12)) % 12]; in plus()539 return ENUMS[(ordinal() / 3) * 3]; in firstMonthOfQuarter()
149 private static final DayOfWeek[] ENUMS = DayOfWeek.values(); field in DayOfWeek167 return ENUMS[dayOfWeek - 1]; in of()367 return ENUMS[(ordinal() + (amount + 7)) % 7]; in plus()