| /external/chromium_org/third_party/icu/source/i18n/ |
| taiwncal.cpp | 66 // EXTENDED_YEAR in TaiwanCalendar is a Gregorian year 68 int32_t year = kGregorianEpoch; local 72 year = internalGet(UCAL_EXTENDED_YEAR, kGregorianEpoch); 76 year = internalGet(UCAL_YEAR, 1) + kTaiwanEraStart; 78 year = 1 - internalGet(UCAL_YEAR, 1) + kTaiwanEraStart; 81 return year; 116 int32_t year = internalGet(UCAL_YEAR); 119 year = 1-year; 127 year = year - kTaiwanEraStart [all...] |
| japancal.h | 34 * except for the year and era. The ascension of each emperor to the throne 36 * year of ascension as year 1. 38 * Note that in the year of an imperial ascension, there are two possible sets 39 * of year and era values: that for the old era and for the new. For example, a 41 * of that year were in the Showa era, e.g. "January 6, 64 Showa", while the rest 42 * of the year was in the Heisei era, e.g. "January 7, 1 Heisei". This class 105 * Return the extended year defined by the current fields. In the 106 * Japanese calendar case, this is equal to the equivalent extended Gregorian year. 192 * Called by computeJulianDay. Returns the default month (0-based) for the year, [all...] |
| gregoimp.h | 93 #define kJan1_1JulianDay 1721426 // January 1, year 1 (Gregorian) 138 * Return TRUE if the given year is a leap year. 139 * @param year Gregorian year, with 0 == 1 BCE, -1 == 2 BCE, etc. 140 * @return TRUE if the year is a leap year 142 static inline UBool isLeapYear(int32_t year); 146 * @param year Gregorian year, with 0 == 1 BCE, -1 == 2 BCE, etc [all...] |
| indiancal.cpp | 61 { -5000000, -5000000, 5000000, 5000000}, // YEAR 94 * Determine whether the given gregorian year is a Leap year 96 static UBool isGregorianLeap(int32_t year) 98 return ((year % 4) == 0) && (!(((year % 100) == 0) && ((year % 400) != 0))); 108 * @param eyear The year in Saka Era 128 * Return the number of days in the given Indian year 130 * @param eyear The year in Saka Era 163 int32_t year, month, day; local 266 int32_t year; local [all...] |
| hebrwcal.h | 38 * solar year (approximately 365.24 days) is not an even multiple of 41 * interesting, the start of a year can be delayed by up to three days 43 * to prevent certain illegal year lengths. Finally, the lengths of certain 44 * months can vary depending on the number of days in the year. 48 * not come at the end of the year, calculations involving 91 * Constant for Tishri, the 1st month of the Hebrew year. 95 * Constant for Heshvan, the 2nd month of the Hebrew year. 99 * Constant for Kislev, the 3rd month of the Hebrew year. 104 * Constant for Tevet, the 4th month of the Hebrew year. 109 * Constant for Shevat, the 5th month of the Hebrew year. [all...] |
| ethpccal.h | 42 * Constant for መስከረም, the 1st month of the Ethiopic year. 47 * Constant for ጥቅምት, the 2nd month of the Ethiopic year. 52 * Constant for ኅዳር, the 3rd month of the Ethiopic year. 57 * Constant for ታኅሣሥ, the 4th month of the Ethiopic year. 62 * Constant for ጥር, the 5th month of the Ethiopic year. 67 * Constant for የካቲት, the 6th month of the Ethiopic year. 72 * Constant for መጋቢት, the 7th month of the Ethiopic year. 77 * Constant for ሚያዝያ, the 8th month of the Ethiopic year. 82 * Constant for ግንቦት, the 9th month of the Ethiopic year. 87 * Constant for ሰኔ, the 10th month of the Ethiopic year. [all...] |
| /external/icu4c/i18n/ |
| taiwncal.cpp | 66 // EXTENDED_YEAR in TaiwanCalendar is a Gregorian year 68 int32_t year = kGregorianEpoch; local 72 year = internalGet(UCAL_EXTENDED_YEAR, kGregorianEpoch); 76 year = internalGet(UCAL_YEAR, 1) + kTaiwanEraStart; 78 year = 1 - internalGet(UCAL_YEAR, 1) + kTaiwanEraStart; 81 return year; 116 int32_t year = internalGet(UCAL_YEAR); 119 year = 1-year; 127 year = year - kTaiwanEraStart [all...] |
| japancal.h | 34 * except for the year and era. The ascension of each emperor to the throne 36 * year of ascension as year 1. 38 * Note that in the year of an imperial ascension, there are two possible sets 39 * of year and era values: that for the old era and for the new. For example, a 41 * of that year were in the Showa era, e.g. "January 6, 64 Showa", while the rest 42 * of the year was in the Heisei era, e.g. "January 7, 1 Heisei". This class 105 * Return the extended year defined by the current fields. In the 106 * Japanese calendar case, this is equal to the equivalent extended Gregorian year. 192 * Called by computeJulianDay. Returns the default month (0-based) for the year, [all...] |
| gregoimp.h | 93 #define kJan1_1JulianDay 1721426 // January 1, year 1 (Gregorian) 138 * Return TRUE if the given year is a leap year. 139 * @param year Gregorian year, with 0 == 1 BCE, -1 == 2 BCE, etc. 140 * @return TRUE if the year is a leap year 142 static inline UBool isLeapYear(int32_t year); 146 * @param year Gregorian year, with 0 == 1 BCE, -1 == 2 BCE, etc [all...] |
| indiancal.cpp | 61 { -5000000, -5000000, 5000000, 5000000}, // YEAR 94 * Determine whether the given gregorian year is a Leap year 96 static UBool isGregorianLeap(int32_t year) 98 return ((year % 4) == 0) && (!(((year % 100) == 0) && ((year % 400) != 0))); 108 * @param eyear The year in Saka Era 128 * Return the number of days in the given Indian year 130 * @param eyear The year in Saka Era 163 int32_t year, month, day; local 266 int32_t year; local [all...] |
| hebrwcal.h | 38 * solar year (approximately 365.24 days) is not an even multiple of 41 * interesting, the start of a year can be delayed by up to three days 43 * to prevent certain illegal year lengths. Finally, the lengths of certain 44 * months can vary depending on the number of days in the year. 48 * not come at the end of the year, calculations involving 91 * Constant for Tishri, the 1st month of the Hebrew year. 95 * Constant for Heshvan, the 2nd month of the Hebrew year. 99 * Constant for Kislev, the 3rd month of the Hebrew year. 104 * Constant for Tevet, the 4th month of the Hebrew year. 109 * Constant for Shevat, the 5th month of the Hebrew year. [all...] |
| ethpccal.h | 42 * Constant for መስከረም, the 1st month of the Ethiopic year. 47 * Constant for ጥቅምት, the 2nd month of the Ethiopic year. 52 * Constant for ኅዳር, the 3rd month of the Ethiopic year. 57 * Constant for ታኅሣሥ, the 4th month of the Ethiopic year. 62 * Constant for ጥር, the 5th month of the Ethiopic year. 67 * Constant for የካቲት, the 6th month of the Ethiopic year. 72 * Constant for መጋቢት, the 7th month of the Ethiopic year. 77 * Constant for ሚያዝያ, the 8th month of the Ethiopic year. 82 * Constant for ግንቦት, the 9th month of the Ethiopic year. 87 * Constant for ሰኔ, the 10th month of the Ethiopic year. [all...] |
| /external/skia/tools/copyright/ |
| fileparser.py | 44 """Given a comment block, return a tuple of attributes: (year, holder). 61 DEFAULT_YEAR = datetime.date.today().year 81 def CreateCopyrightBlock(self, year, holder): 85 @param year year in which to hold copyright (defaults to DEFAULT_YEAR) 88 if not year: 89 year = self.DEFAULT_YEAR 92 return self.COPYRIGHT_BLOCK_FORMAT % (year, holder)
|
| /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
| InputDialogContainer.java | 35 int year, int month, int day, int hour, int minute, int second, int week); 95 private Time normalizeTime(int year, int month, int monthDay, 98 if (year == 0 && month == 0 && monthDay == 0 && hour == 0 && 103 cal.get(Calendar.MONTH), cal.get(Calendar.YEAR)); 105 result.set(second, minute, hour, monthDay, month, year); 110 void showDialog(final int dialogType, int year, int month, int monthDay, 122 Time time = normalizeTime(year, month, monthDay, hour, minute, second); 125 new DateListener(dialogType), time.year, time.month, time.monthDay); 127 time.year, time.month, time.monthDay, 0, 0, minTime, maxTime); 139 time.year, time.month, time.monthDay [all...] |
| MonthPickerDialog.java | 16 * @param year The initial year of the dialog. 20 int year, int monthOfYear, long minMonth, long maxMonth) { 21 super(context, callBack, year, monthOfYear, minMonth, maxMonth);
|
| /external/chromium_org/v8/src/ |
| date.h | 98 bool IsLeap(int year) { 99 return year % 4 == 0 && (year % 100 != 0 || year % 400 == 0); 142 // We solve this by mapping the time to a year with same leap-year-ness 143 // and same starting day for the year. The ECMAscript specification says 145 // the actual year if it is in the range 1970..2037 149 int year, month, day; local 150 YearMonthDayFromDays(days, &year, &month, &day) [all...] |
| date.js | 81 function TimeInYear(year) { 82 return DaysInYear(year) * msPerDay; 86 // Compute number of days given a year, month, date. 92 function MakeDay(year, month, date) { 93 if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) return $NaN; 96 year = TO_INTEGER_MAP_MINUS_ZERO(year); 100 if (year < kMinYear || year > kMaxYear || 105 // Now we rely on year and month being SMIs [all...] |
| /external/v8/src/ |
| date.h | 98 bool IsLeap(int year) { 99 return year % 4 == 0 && (year % 100 != 0 || year % 400 == 0); 142 // We solve this by mapping the time to a year with same leap-year-ness 143 // and same starting day for the year. The ECMAscript specification says 145 // the actual year if it is in the range 1970..2037 149 int year, month, day; local 150 YearMonthDayFromDays(days, &year, &month, &day) [all...] |
| date.js | 85 function TimeInYear(year) { 86 return DaysInYear(year) * msPerDay; 90 // Compute number of days given a year, month, date. 96 function MakeDay(year, month, date) { 97 if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) return $NaN; 100 year = TO_INTEGER_MAP_MINUS_ZERO(year); 104 if (year < kMinYear || year > kMaxYear || 109 // Now we rely on year and month being SMIs [all...] |
| /external/chromium_org/third_party/WebKit/Source/wtf/ |
| DateMath.cpp | 115 // Day of year for the first day of each month, where index 0 is January, and day 0 is January 1. 131 bool isLeapYear(int year) 133 if (year % 4 != 0) 135 if (year % 400 == 0) 137 if (year % 100 == 0) 142 static inline int daysInYear(int year) 144 return 365 + isLeapYear(year); 147 static inline double daysFrom1970ToYear(int year) 150 // Every fourth year is a leap year. 2004, 2008, and 2012 are leap years 440 int year = msToYear(ms); local 700 int year = 0; local 806 int year = 0; local [all...] |
| /libcore/luni/src/main/java/java/util/ |
| GregorianCalendar.java | 42 * the Julian calendar is the leap year rule. The Julian calendar specifies leap 54 * date, leap year rules were applied irregularly, and before 45 BC the Julian 58 * Prior to the institution of the Gregorian calendar, New Year's Day was March 65 * 53. Week 1 for a year is the earliest seven day period starting on 67 * {@code getMinimalDaysInFirstWeek()} days from that year. It thus 70 * Weeks between week 1 of one year and week 1 of the following year are 89 * {@code getFirstDayOfWeek()}. Unlike week 1 of a year, week 1 of a 132 * System.out.println("YEAR: " + calendar.get(Calendar.YEAR)); 655 int year = isSet[YEAR] ? fields[YEAR] : 1970; local 789 int year = 1970; local 1025 int year = 1970; local [all...] |
| /external/chromium_org/chrome/installer/util/ |
| google_update_experiment_util.cc | 32 // MON = 3 character month of year, 33 // YYYY = 4 digit year, 40 then.year += 1; 47 then.year,
|
| /sdk/eclipse/plugins/com.android.ide.eclipse.monitor/ |
| plugin.properties | 2 #TODO: update with new year date (search this to find other occurrences to update)
|
| /external/libpng/ |
| Y2KINFO | 13 Libpng only has three year fields. One is a 2-byte unsigned integer 18 "png_uint_16 year" in png_time_struct. 37 clock time, which returns (year - 1900), which we properly convert to 38 the full 4-digit year. There is a possibility that applications using 40 function, or that they are incorrectly passing only a 2-digit year 41 instead of "year - 1900" into the png_convert_from_struct_tm() function, 47 integer to hold the year, and can hold years as large as 65535.
|
| /external/chromium_org/third_party/icu/source/test/compat/ |
| tzone.pl | 8 print "Usage: tzone [year month day hour minute]\n"; 18 my $year = 0; 26 ($year, $month, $day, $hour, $minute) = @ARGV; 27 print "The date we are using is: $month-$day-$year $hour:$minute.\n"; 52 my @result = `./tzdate $year $month $day $hour $minute $USECURRENT`;
|