| /external/bison/build-aux/ |
| mdate-sh | 154 # $4 = year or time 162 # $3 = year or time 187 # the time of day or the year. 189 *:*) set `date`; eval year=\$$# 204 # For the first six month of the year the time notation can also 205 # be used for files modified in the last year. 208 year=`expr $year - 1` 210 *) year=$3;; 214 echo $day $month $year [all...] |
| /external/libffi/ |
| mdate-sh | 132 # $4 = year or time 140 # $3 = year or time 165 # the time of day or the year. 167 *:*) set `date`; eval year=\$$# 182 # For the first six month of the year the time notation can also 183 # be used for files modified in the last year. 186 year=`expr $year - 1` 188 *) year=$3;; 192 echo $day $month $year [all...] |
| /ndk/sources/host-tools/make-3.81/config/ |
| mdate-sh | 132 # $4 = year or time 140 # $3 = year or time 165 # the time of day or the year. 167 *:*) set `date`; eval year=\$$# 182 # For the first six month of the year the time notation can also 183 # be used for files modified in the last year. 186 year=`expr $year - 1` 188 *) year=$3;; 192 echo $day $month $year [all...] |
| /ndk/sources/host-tools/sed-4.2.1/build-aux/ |
| mdate-sh | 135 # $4 = year or time 143 # $3 = year or time 168 # the time of day or the year. 170 *:*) set `date`; eval year=\$$# 185 # For the first six month of the year the time notation can also 186 # be used for files modified in the last year. 189 year=`expr $year - 1` 191 *) year=$3;; 195 echo $day $month $year [all...] |
| /external/chromium_org/third_party/WebKit/Source/core/Resources/pagepopups/ |
| calendarPicker.js | 107 * @param {!number} year 111 function formatJapaneseImperialEra(year, month) { 114 if (year > ImperialEraLimit) 116 if (year > 1989) 117 return "(??" + localizeNumber(year - 1988) + "?)"; 118 if (year == 1989) 120 if (year >= 1927) 121 return "(??" + localizeNumber(year - 1925) + "?)"; 122 if (year > 1912) 123 return "(??" + localizeNumber(year - 1911) + "?)" [all...] |
| /external/chromium_org/third_party/icu/source/i18n/ |
| tzrule.cpp | 262 AnnualTimeZoneRule::getStartInYear(int32_t year, 266 if (year < fStartYear || year > fEndYear) { 272 ruleDay = Grego::fieldsToDay(year, fDateTimeRule->getRuleMonth(), fDateTimeRule->getRuleDayOfMonth()); 279 ruleDay = Grego::fieldsToDay(year, fDateTimeRule->getRuleMonth(), 1); 283 ruleDay = Grego::fieldsToDay(year, fDateTimeRule->getRuleMonth(), 284 Grego::monthLength(year, fDateTimeRule->getRuleMonth())); 293 if (month == UCAL_FEBRUARY && dom == 29 && !Grego::isLeapYear(year)) { 297 ruleDay = Grego::fieldsToDay(year, month, dom); 356 int32_t year, month, dom, dow, doy, mid [all...] |
| /external/icu4c/i18n/ |
| tzrule.cpp | 262 AnnualTimeZoneRule::getStartInYear(int32_t year, 266 if (year < fStartYear || year > fEndYear) { 272 ruleDay = Grego::fieldsToDay(year, fDateTimeRule->getRuleMonth(), fDateTimeRule->getRuleDayOfMonth()); 279 ruleDay = Grego::fieldsToDay(year, fDateTimeRule->getRuleMonth(), 1); 283 ruleDay = Grego::fieldsToDay(year, fDateTimeRule->getRuleMonth(), 284 Grego::monthLength(year, fDateTimeRule->getRuleMonth())); 293 if (month == UCAL_FEBRUARY && dom == 29 && !Grego::isLeapYear(year)) { 297 ruleDay = Grego::fieldsToDay(year, month, dom); 356 int32_t year, month, dom, dow, doy, mid [all...] |
| chnsecal.h | 50 * first method is by sequential numbering from the 61st year of the reign 51 * of Huang Di, 2637 BCE, which is designated year 1 on the Chinese 52 * calendar. The second method uses 60-year cycles from the same starting 53 * point, which is designated year 1 of cycle 1. In this class, the 54 * <code>EXTENDED_YEAR</code> field contains the sequential year count. 56 * <code>YEAR</code> field contains the year of the cycle, a value between 60 * the calendar, with some sources starting in the first year of the reign 61 * of Huang Di, rather than the 61st. This gives continuous year numbers 118 * with the given locale, using the specified epoch year and time zone fo [all...] |
| /external/chromium/base/third_party/nspr/ |
| prtime.cc | 91 * Note that 1 year has < 2^25 seconds. So an PRInt32 is large enough. 134 gregorian_date.year = exploded->tm_year; 172 // the most future date possible (year 2038). 176 // the most past date possible (year 1901). 193 * till the start of the given year Y. At the start of the year 4 195 * the year 5 A.D. this count is 1. The number of years divisible by 200 * start of the given year Y. The number of days at the start of the year 201 * 1 is 0 while the number of days at the start of the year 2 is 36 529 PRInt32 year = -1; local [all...] |
| /external/chromium_org/base/third_party/nspr/ |
| prtime.cc | 96 * Note that 1 year has < 2^25 seconds. So an PRInt32 is large enough. 139 gregorian_date.year = exploded->tm_year; 177 // the most future date possible (year 2038). 181 // the most past date possible (year 1901). 198 * till the start of the given year Y. At the start of the year 4 200 * the year 5 A.D. this count is 1. The number of years divisible by 205 * start of the given year Y. The number of days at the start of the year 206 * 1 is 0 while the number of days at the start of the year 2 is 36 534 PRInt32 year = -1; local [all...] |
| /external/chromium_org/third_party/libxslt/libexslt/ |
| date.c | 87 long year; member in struct:_exsltDateValDate 159 (IS_LEAP(dt->year) ? \ 164 (VALID_YEAR(dt->year) && VALID_MONTH(dt->mon) && VALID_MDAY(dt)) 186 #define DAY_IN_YEAR(day, month, year) \ 187 ((IS_LEAP(year) ? \ 198 * xs:gYear. It is supposed that @dt->year is big enough to contain 199 * the year. 221 dt->year = dt->year * 10 + (*cur - '0'); 226 /* year must be at least 4 digits (CCYY); over 1962 double year; local 2146 long diy, diw, year, ret; local [all...] |
| /external/chromium_org/third_party/WebKit/Source/wtf/ |
| DateMath.h | 61 WTF_EXPORT int equivalentYearForDST(int year); 68 // dayOfWeek: [0, 6] 0 being Monday, day: [1, 31], month: [0, 11], year: ex: 2011, hours: [0, 23], minutes: [0, 59], seconds: [0, 59], utcOffset: [-720,720]. 69 WTF_EXPORT String makeRFC2822DateString(unsigned dayOfWeek, unsigned day, unsigned month, unsigned year, unsigned hours, unsigned minutes, unsigned seconds, int utcOffset); 91 bool isLeapYear(int year); 94 WTF_EXPORT double dateToDaysFrom1970(int year, int month, int day); 99 WTF_EXPORT int dayInYear(int year, int month, int day); 100 WTF_EXPORT int dayInYear(double ms, int year);
|
| /external/icu4c/samples/cal/ |
| cal.c | 43 static void cal(int32_t month, int32_t year, 89 /* Number of months in a year (yes, 13) */ 92 /* Separation between months in year view */ 115 int32_t month = -1, year = -1; local 152 /* Get the month and year to display, if specified */ 155 /* Month and year specified */ 158 sscanf(argv[optInd + 1], "%d", (int*)&year); 171 /* Only year specified */ 173 sscanf(argv[optInd], "%d", (int*)&year); 190 cal(month, year, useLongNames, &status) [all...] |
| /prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
| datetime.h | 14 * 0 year 2 bytes, 1-9999 24 /* # of bytes for year, month, and day. */ 30 /* # of bytes for year, month, day, hour, minute, second, and usecond. */ 210 #define PyDate_FromDate(year, month, day) \ 211 PyDateTimeAPI->Date_FromDate(year, month, day, PyDateTimeAPI->DateType) 213 #define PyDateTime_FromDateAndTime(year, month, day, hour, min, sec, usec) \ 214 PyDateTimeAPI->DateTime_FromDateAndTime(year, month, day, hour, \
|
| /prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
| datetime.h | 14 * 0 year 2 bytes, 1-9999 24 /* # of bytes for year, month, and day. */ 30 /* # of bytes for year, month, day, hour, minute, second, and usecond. */ 210 #define PyDate_FromDate(year, month, day) \ 211 PyDateTimeAPI->Date_FromDate(year, month, day, PyDateTimeAPI->DateType) 213 #define PyDateTime_FromDateAndTime(year, month, day, hour, min, sec, usec) \ 214 PyDateTimeAPI->DateTime_FromDateAndTime(year, month, day, hour, \
|
| /libcore/luni/src/main/java/libcore/icu/ |
| DateIntervalFormat.java | 167 // If we've been asked to show the date, work out whether we think we should show the year. 170 // The caller explicitly wants us to show the year. 172 // The caller explicitly doesn't want us to show the year, even if we otherwise would. 209 return c1.get(Calendar.YEAR) != c2.get(Calendar.YEAR) || 219 return c1.get(Calendar.YEAR) == c2.get(Calendar.YEAR); 224 return c.get(Calendar.YEAR) == now.get(Calendar.YEAR);
|
| /external/bison/runtime-po/ |
| bison-runtime.pot | 2 # Copyright (C) YEAR Free Software Foundation, Inc. 4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. 12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
| Time.java | 54 int year = Integer.parseInt(d.substring(0, 4)); local 56 if (year < 1950 || year > 2049)
|
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
| Time.java | 54 int year = Integer.parseInt(d.substring(0, 4)); local 56 if (year < 1950 || year > 2049)
|
| /external/chromium_org/net/cookies/ |
| cookie_util.cc | 89 // - If the year is <= 2 digits, it must occur after the day of month. 164 exploded.year = atoi(token.c_str()); 182 // Normalize the year to expand abbreviated years to the full year. 183 if (exploded.year >= 69 && exploded.year <= 99) 184 exploded.year += 1900; 185 if (exploded.year >= 0 && exploded.year <= 68) 186 exploded.year += 2000 [all...] |
| /external/smack/src/org/xbill/DNS/ |
| FormattedTime.java | 41 sb.append(w4.format(c.get(Calendar.YEAR))); 65 int year = Integer.parseInt(s.substring(0, 4)); local 71 c.set(year, month, date, hour, minute, second);
|
| /frameworks/base/core/jni/ |
| TimeUtils.h | 52 YEAR = 6, 69 inline void set(int sec, int min, int hour, int mday, int mon, int year, 77 this->t.tm_year = year;
|
| /packages/apps/Calendar/tests/src/com/android/calendar/ |
| FormatDateRangeTest.java | 49 // If the year is zero, then set it to the current year. 52 year1 = year2 = date1.year; 163 // Tests that year isn't shown by default with no year flags when time is the current year: 165 Calendar.getInstance().get(Calendar.YEAR), 0, 3, 13, 0, 168 // Tests that the year is shown by default with no year flags when time isn't the current year [all...] |
| /packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
| DateTileView.java | 87 public void setDate(int date, int month, int year) { 102 if (year != mYear) { 103 mYear = year;
|
| /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
| GregorianCalendarTest.java | 47 1972, gc.get(Calendar.YEAR)); 65 1972, gc.get(Calendar.YEAR)); 81 5983, gc.get(Calendar.YEAR)); 94 1972, gc.get(Calendar.YEAR)); 151 c1.set(Calendar.YEAR,1999); 195 gc1.add(GregorianCalendar.YEAR, 1); 197 1999, gc1.get(GregorianCalendar.YEAR)); 201 assertEquals("Wrong result year 1", 2000, gc1.get(Calendar.YEAR)); 206 gc1.add(Calendar.YEAR, -1) [all...] |