HomeSort by relevance Sort by last modified time
    Searched full:year (Results 126 - 150 of 1223) sorted by null

1 2 3 4 56 7 8 91011>>

  /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/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...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/
shell.js 259 * year-month-day mode: dt = new Date(2000, 5, 1, ...);
280 ResultArray[YEAR] = YearFromTime(t);
355 var year = ( sign < 0 ) ? 1969 : 1970;
357 // subtract the current year's time from the time that's left.
358 timeToTimeZero -= sign * TimeInYear(year)
360 // if there's less than the current year's worth of time left, then break.
365 year += sign;
371 year += sign;
375 return ( year );
518 var year = YearFromTime(t)
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/
15.9.5.25-1.js 120 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year;
125 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() );
134 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() );
151 this.year = 0;
168 d.year = YearFromTime(t);
177 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
15.9.5.26-1.js 130 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year;
135 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() );
144 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() );
162 this.year = 0;
179 d.year = YearFromTime(t);
188 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
15.9.5.27-1.js 128 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year;
133 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() );
142 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() );
160 this.year = 0;
177 d.year = YearFromTime(t);
186 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
15.9.5.29-1.js 138 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year;
143 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() );
152 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() );
169 this.year = 0;
186 d.year = YearFromTime(t);
195 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
15.9.5.34-1.js 152 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year;
157 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() );
166 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() );
183 this.year = 0;
200 d.year = YearFromTime(t);
209 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
  /external/webkit/Source/JavaScriptCore/wtf/
DateMath.h 58 int equivalentYearForDST(int year);
85 double dateToDaysFrom1970(int year, int month, int day);
87 int dayInYear(double ms, int year);
135 , year(0)
149 , year(inTm.tm_year)
180 ret.tm_year = year;
202 year = rhs.year;
220 int year; member in struct:JSC::GregorianDateTime
  /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/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...]
CalendarTest.java 44 cal.set(Calendar.YEAR, 2002);
49 cal.set(Calendar.YEAR, 2002);
55 cal.set(Calendar.YEAR, 2002);
73 cal.set(Calendar.YEAR, 2002);
79 cal.set(Calendar.YEAR, 2002);
85 cal.set(Calendar.YEAR, 2002);
91 cal.set(Calendar.YEAR, 2002);
97 cal.set(Calendar.YEAR, 2002);
103 cal.set(Calendar.YEAR, 2002);
109 cal.set(Calendar.YEAR, 2002)
467 int year = Integer.MIN_VALUE + 71; local
    [all...]
  /libcore/luni/src/test/java/tests/api/java/util/
CalendarTest.java 44 cal.set(Calendar.YEAR, 2002);
49 cal.set(Calendar.YEAR, 2002);
55 cal.set(Calendar.YEAR, 2002);
73 cal.set(Calendar.YEAR, 2002);
79 cal.set(Calendar.YEAR, 2002);
85 cal.set(Calendar.YEAR, 2002);
91 cal.set(Calendar.YEAR, 2002);
97 cal.set(Calendar.YEAR, 2002);
103 cal.set(Calendar.YEAR, 2002);
109 cal.set(Calendar.YEAR, 2002)
467 int year = Integer.MIN_VALUE + 71; local
    [all...]
  /external/icu4c/i18n/unicode/
calendar.h 55 * <code>YEAR</code>, <code>MONTH</code>, <code>DAY</code>, <code>HOUR</code>,
91 * <code>UDate</code> (such as only year and month but no day in the month),
100 * start of the epoch: i.e., YEAR = 1970, MONTH = JANUARY, DATE = 1, etc.
151 * specification of the historial Arabic astronomical calendar requires year,
218 YEAR, // Example: 1..big number
234 YEAR_WOY, // 'Y' Example: 1..big number - Year of Week of Year
544 * starting with 100 BC and adding +1 to year results in 99 BC (even though this actually reduces
566 * starting with 100 BC and adding +1 to year results in 99 BC (even though this actually reduces
584 * roll(Calendar::DATE, true). When rolling on the year or Calendar::YEAR field, i
    [all...]
  /external/icu4c/test/intltest/
incaltst.cpp 147 * that behaves like a Gregorian but has different year/era mappings.
150 * { era, year, gregorianYear, month, dayOfMonth, ... ... , -1 }
172 int32_t year = data[i++]; local
183 cal.set(year, month, dayOfMonth);
190 logln(UnicodeString("OK: ") + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth +
193 errln(UnicodeString("Fail: (fields to millis)") + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth +
206 if (y == year && e == era) {
214 ", expected " + era + ":" + year + "/" + (month+1) + "/" +
268 2542, // B. year
269 1999, // G. year
    [all...]
  /external/chromium/chrome/browser/autofill/
credit_card.cc 211 string16 year = Expiration2DigitYearAsString(); local
212 if (!month.empty() && !year.empty())
213 return month + ASCIIToUTF16("/") + year;
219 string16 year = Expiration4DigitYearAsString(); local
220 if (!month.empty() && !year.empty())
221 return month + ASCIIToUTF16("/") + year;
470 int year; local
471 if (!ConvertDate(text, &year))
474 SetExpirationYear(year);
515 int year; local
523 int year; local
    [all...]
  /external/libxml2/include/libxml/
nanoftp.h 50 * @year: the year
57 * Note that only one of year and day:minute are specified.
62 unsigned long size, int links, int year,
  /external/skia/tools/copyright/
main.py 11 while keeping the year and holder intact.
13 year and default holder.
50 (year, holder) = parser.GetCopyrightBlockAttributes(old_copyright_block)
56 new_copyright_block = parser.CreateCopyrightBlock(year, holder)
  /external/wpa_supplicant_8/src/utils/
os_win32.c 50 int os_mktime(int year, int month, int day, int hour, int min, int sec,
57 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 ||
63 tm.tm_year = year - 1900;
103 tm->year = tm2->tm_year + 1900;

Completed in 595 milliseconds

1 2 3 4 56 7 8 91011>>