Home | History | Annotate | Download | only in util

Lines Matching defs:year

23  * except for the year and era.  Years are numbered since the birth of the
136 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
143 public BuddhistCalendar(int year, int month, int date) {
144 super(year, month, date);
151 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
164 public BuddhistCalendar(int year, int month, int date, int hour,
167 super(year, month, date, hour, minute, second);
186 // EXTENDED_YEAR in BuddhistCalendar is a Gregorian year
188 int year;
189 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) {
190 year = internalGet(EXTENDED_YEAR, GREGORIAN_EPOCH);
192 year = internalGet(YEAR, GREGORIAN_EPOCH - BUDDHIST_ERA_START)
195 return year;
198 // Return JD of start of given month/year
211 internalSet(YEAR, y);
216 * should really handle YEAR, YEAR_WOY, and EXTENDED_YEAR here too to