Home | History | Annotate | Download | only in tzcode

Lines Matching full:year

74  * Given a calendar year, return the GMT epoch seconds for midnight
75 * GMT of January 1 of that year. yearToSeconds(1970) == 0.
77 int64_t yearToSeconds(int32_t year) {
81 while (y < year) {
84 while (y > year) {
91 * Given 1970 GMT epoch seconds, return the calendar year containing
733 int32_t year; // takes effect for y >= year
737 offset(_offset), year(_year), ruleid(_ruleid) {
741 << " for year " << year
745 if (year < 1900 || year >= 2050) {
747 os << "Invalid input year " << year
753 FinalZone() : offset(-1), year(-1) {}
950 // zone Africa/Cairo 7200 1995 Egypt # zone Africa/Cairo, offset 7200, year >= 1995, rule Egypt (0)
952 int32_t offset, year;
953 in >> id >> offset >> year >> ruleid;
955 finalZones[id] = FinalZone(offset, year, ruleid);
1362 int32_t year = fz.year;
1363 int64_t seconds = yearToSeconds(year);
1383 finalYear = fz.year;
1704 // Get local time & year for below