Home | History | Annotate | Download | only in format

Lines Matching defs:year

402       two y's, typically resulting in a date in the year 1919.
405 four-digit year values (probably also applicable to various
785 * DateFormat shouldn't parse year "-1" as a two-digit year (e.g., "-1" . 1999).
791 /* We expect 2-digit year formats to put 2-digit years in the right
966 int year = cal.get(Calendar.YEAR);
969 if ( year != 2008 || month != 6 || day != 2 ) {
971 ", expected y2008 m6 d2, got " + year + " " + month + " " + day );
1513 cal.add(Calendar.YEAR, 1);