Home | History | Annotate | Download | only in util

Lines Matching defs:year

22  * except for the year and era.  Years are numbered since the birth of the
144 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
152 public BuddhistCalendar(int year, int month, int date) {
153 super(year, month, date);
160 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
174 public BuddhistCalendar(int year, int month, int date, int hour,
177 super(year, month, date, hour, minute, second);
197 // EXTENDED_YEAR in BuddhistCalendar is a Gregorian year
199 int year;
200 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) {
201 year = internalGet(EXTENDED_YEAR, GREGORIAN_EPOCH);
203 year = internalGet(YEAR, GREGORIAN_EPOCH - BUDDHIST_ERA_START)
206 return year;
209 // Return JD of start of given month/year
224 internalSet(YEAR, y);
229 * should really handle YEAR, YEAR_WOY, and EXTENDED_YEAR here too to