Searched defs:defaultCenturyStart (Results 1 - 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
H A DDate.java147 private static int defaultCenturyStart; field in class:Date
607 if (defaultCenturyStart == 0) {
608 defaultCenturyStart = gcal.getCalendarDate().getYear() - 80;
611 year += (defaultCenturyStart / 100) * 100;
612 if (year < defaultCenturyStart) year += 100;
/libcore/ojluni/src/main/java/java/text/
H A DSimpleDateFormat.java424 * has no <code>defaultCenturyStart</code> on stream.
426 * <code>defaultCenturyStart</code>.
489 * <code>defaultCenturyStart</code>, which may be any date. May
494 private Date defaultCenturyStart; field in class:SimpleDateFormat
883 defaultCenturyStart = startDate;
911 return (Date) defaultCenturyStart.clone();
1522 if (parsedDate.before(defaultCenturyStart)) {
1905 // Assume for example that the defaultCenturyStart is 6/18/1903.
2419 // didn't have defaultCenturyStart field
2424 parseAmbiguousDatesAsAfter(defaultCenturyStart);
[all...]

Completed in 159 milliseconds