Lines Matching defs:calendar
57 * day number of January 1, 1970 (Gregorian calendar) at noon UTC. [LIU]
338 // calendar, then the epoch day is -106751991168, which when multiplied
391 // Compute the Julian calendar day number for January 1, eyear
399 // computatinally cleaner proleptic calendar, which assumes
555 // Add 2 because Gregorian calendar starts 2 days after
556 // Julian calendar
567 // calendar.
710 * January 1, year 1 of the given calendar. If julianDay == 0, it
711 * specifies (Jan. 1, 1) - 1, in whatever calendar we are using (Julian
723 // Add 2 because Gregorian calendar starts 2 days after Julian calendar
863 // may be different from the calendar year. For example, the
869 // may be one year before or after the calendar year.
1046 * For the Gregorian calendar, this is the same as getMinimum() and getGreatestMinimum().
1063 * For the Gregorian calendar, this is the same as getMinimum() and getGreatestMinimum().
1090 * maximum would be 28; for "Feb 3, 1996" it s 29. Similarly for a Hebrew calendar,
1103 * zones. As a result, if the calendar is set to Aug 1 292278994 AD,
1124 * The actual maxima for YEAR depend on the type of calendar:
1330 Calendar *calendar = new GregorianCalendar(status);
1331 if (calendar != NULL && U_SUCCESS(status))
1333 calendar->setTime(Calendar::getNow(), status);
1334 calendar->add(UCAL_YEAR, -80, status);
1336 UDate newStart = calendar->getTime(status);
1337 int32_t newYear = calendar->get(UCAL_YEAR, status);
1345 delete calendar;