Home | History | Annotate | Download | only in util

Lines Matching defs:year

20  * except for the year and era.  Years are numbered since 1912 AD (Gregorian).
147 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
155 public TaiwanCalendar(int year, int month, int date) {
156 super(year, month, date);
163 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
173 public TaiwanCalendar(int year, int month, int date, int hour,
176 super(year, month, date, hour, minute, second);
197 // EXTENDED_YEAR in TaiwanCalendar is a Gregorian year
199 int year = GREGORIAN_EPOCH;
200 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR
202 year = internalGet(EXTENDED_YEAR, GREGORIAN_EPOCH);
206 year = internalGet(YEAR, 1) + Taiwan_ERA_START;
208 year = 1 - internalGet(YEAR, 1) + Taiwan_ERA_START;
211 return year;
223 internalSet(YEAR, y);
226 internalSet(YEAR, 1- y);
232 * should really handle YEAR, YEAR_WOY, and EXTENDED_YEAR here too to