HomeSort by relevance Sort by last modified time
    Searched defs:year (Results 1 - 25 of 565) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
2-1-buildonly.c 16 int week, year, dst; local
25 year = t.tm_yday;
  /external/mesa3d/src/mesa/main/
extensions.h 79 /** Year the extension was proposed or approved. Used to sort the
81 uint16_t year; member in struct:mesa_extension
  /bionic/libc/tzcode/
asctime.c 32 ** The ISO C 1999 and POSIX 1003.1-2004 standards prohibit padding the year,
41 ** For years that are more than four digits we put extra spaces before the year
43 ** a digit within a year and truncating the year (operating on the assumption
83 char year[INT_STRLEN_MAXIMUM(int) + 2]; local
97 ** Use strftime's %Y to generate the year, to avoid overflow problems
102 strftime(year, sizeof year, "%Y", timeptr);
107 ((strlen(year) <= 4) ? ASCTIME_FMT : ASCTIME_FMT_B),
111 year);
    [all...]
  /external/icu/icu4c/source/test/intltest/
calcasts.h 32 int32_t year; member in struct:CalendarCaseTest::TestCase
  /external/icu/icu4c/source/tools/tzcode/
asctime.c 32 ** The ISO C 1999 and POSIX 1003.1-2004 standards prohibit padding the year,
41 ** For years that are more than four digits we put extra spaces before the year
43 ** a digit within a year and truncating the year (operating on the assumption
83 char year[INT_STRLEN_MAXIMUM(int) + 2]; local
97 ** Use strftime's %Y to generate the year, to avoid overflow problems
102 (void) strftime(year, sizeof year, "%Y", timeptr);
107 ((strlen(year) <= 4) ? ASCTIME_FMT : ASCTIME_FMT_B),
111 year); local
    [all...]
  /external/protobuf/src/google/protobuf/stubs/
time.h 40 int year; member in struct:google::protobuf::internal::DateTime
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
Time.java 82 int year = Integer.parseInt(d.substring(0, 4)); local
84 if (year < 1950 || year > 2049)
117 int year = Integer.parseInt(d.substring(0, 4)); local
119 if (year < 1950 || year > 2049)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
Time.java 63 int year = Integer.parseInt(d.substring(0, 4)); local
65 if (year < 1950 || year > 2049)
98 int year = Integer.parseInt(d.substring(0, 4)); local
100 if (year < 1950 || year > 2049)
  /external/icu/android_icu4j/src/main/java/android/icu/util/
BuddhistCalendar.java 23 * except for the year and era. Years are numbered since the birth of the
136 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
143 public BuddhistCalendar(int year, int month, int date) {
144 super(year, month, date);
151 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
164 public BuddhistCalendar(int year, int month, int date, int hour
188 int year; local
    [all...]
TaiwanCalendar.java 21 * except for the year and era. Years are numbered since 1912 AD (Gregorian).
137 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
144 public TaiwanCalendar(int year, int month, int date) {
145 super(year, month, date);
152 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
161 public TaiwanCalendar(int year, int month, int date, int hour
186 int year = GREGORIAN_EPOCH; local
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
BuddhistCalendar.java 22 * except for the year and era. Years are numbered since the birth of the
144 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
152 public BuddhistCalendar(int year, int month, int date) {
153 super(year, month, date);
160 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
174 public BuddhistCalendar(int year, int month, int date, int hour
199 int year; local
    [all...]
TaiwanCalendar.java 20 * except for the year and era. Years are numbered since 1912 AD (Gregorian).
147 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
155 public TaiwanCalendar(int year, int month, int date) {
156 super(year, month, date);
163 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
173 public TaiwanCalendar(int year, int month, int date, int hour
199 int year = GREGORIAN_EPOCH; local
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowDatePickerDialog.java 20 private int year; field in class:ShadowDatePickerDialog
27 int year, int monthOfYear, int dayOfMonth) {
28 this.year = year;
37 ClassParameter.from(int.class, year),
44 Calendar calendar, int year, int monthOfYear, int dayOfMonth) {
46 this.year = year;
56 ClassParameter.from(int.class, year),
66 return year;
    [all...]
  /external/toybox/toys/posix/
cal.c 13 usage: cal [[month] year]
17 With one argument, prints all months of the specified year.
18 With two arguments, prints calendar for month and year.
47 int year = tm->tm_year; local
49 if (!(year & 3) && !((year&100) && !(year&400))) len++;
80 // Last argument is year, one before that (if any) is month.
89 // Print 12 months of the year
  /external/v8/src/
dateparser.cc 20 int year = 0; // Default year is 0 (=> 2000) for KJS compatibility. local
27 year = comp_[0];
34 if (index_ == 3) year = comp_[2];
43 year = comp_[0];
48 year = comp_[1];
53 if (Between(year, 0, 49)) year += 2000;
54 else if (Between(year, 50, 99)) year += 1900
    [all...]
  /libcore/ojluni/src/main/java/java/util/zip/
ZipUtils.java 98 int year = d.getYear() + 1900; local
99 if (year < 1980) {
103 return ((year - 1980) << 25 | (d.getMonth() + 1) << 21 |
  /build/make/tools/zipalign/
ZipEntry.cpp 379 int year; local
380 year = ptm->tm_year;
381 if (year < 80)
382 year = 80;
384 zdate = (year - 80) << 9 | (ptm->tm_mon+1) << 5 | ptm->tm_mday;
  /developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/
CreditCardSpinnersActivity.java 78 int year = Calendar.getInstance().get(Calendar.YEAR); local
80 years[i] = Integer.toString(year + i);
  /developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/commoncases/
CreditCardSpinnersActivity.java 76 int year = Calendar.getInstance().get(Calendar.YEAR); local
78 years[i] = Integer.toString(year + i);
  /external/icu/icu4c/source/i18n/
buddhcal.cpp 68 // EXTENDED_YEAR in BuddhistCalendar is a Gregorian year.
70 int32_t year; local
72 year = internalGet(UCAL_EXTENDED_YEAR, kGregorianEpoch);
74 // extended year is a gregorian year, where 1 = 1AD, 0 = 1BC, -1 = 2BC, etc
75 year = internalGet(UCAL_YEAR, kGregorianEpoch - kBuddhistEraStart)
78 return year;
111 int32_t year = internalGet(UCAL_YEAR);
114 year = 1-year;
    [all...]
coptccal.cpp 64 eyear = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1
66 // The year defaults to the epoch start, the era to CE
69 eyear = 1 - internalGet(UCAL_YEAR, 1); // Convert to extended year
71 eyear = internalGet(UCAL_YEAR, 1); // Default to year 1
80 int32_t eyear, month, day, era, year; local
85 year = 1 - eyear;
88 year = eyear;
93 internalSet(UCAL_YEAR, year);
100 * The system maintains a static default century start date and Year. They are
102 * and year are set, they do not change
    [all...]
ethpccal.cpp 84 // Amelete Hihret year always.
87 eyear = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1
90 - AMETE_MIHRET_DELTA; // Default to year 1 of Amelete Mihret
92 // The year defaults to the epoch start, the era to AMETE_MIHRET
95 eyear = internalGet(UCAL_YEAR, 1); // Default to year 1
106 int32_t eyear, month, day, era, year; local
111 year = eyear + AMETE_MIHRET_DELTA;
115 year = eyear;
118 year = eyear + AMETE_MIHRET_DELTA;
124 internalSet(UCAL_YEAR, year);
    [all...]
taiwncal.cpp 68 // EXTENDED_YEAR in TaiwanCalendar is a Gregorian year
70 int32_t year = kGregorianEpoch; local
74 year = internalGet(UCAL_EXTENDED_YEAR, kGregorianEpoch);
78 year = internalGet(UCAL_YEAR, 1) + kTaiwanEraStart;
80 year = 1 - internalGet(UCAL_YEAR, 1) + kTaiwanEraStart;
83 return year;
118 int32_t year = internalGet(UCAL_YEAR);
121 year = 1-year;
129 year = year - kTaiwanEraStart
    [all...]
  /external/icu/icu4c/source/test/compat/
tzdate.c 34 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime);
41 int year, month, day, hour, minute; local
46 sysyear = year = month = day = 0;
53 year = atoi(argv[1]);
60 /* format year for system time */
61 sysyear = year - 1900;
111 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime) {
121 ts.tm_year = year;
  /external/ksoap2/kobjects/org/ksoap2/kobjects/isodate/
IsoDate.java 45 int year = c.get(Calendar.YEAR); local
46 dd(buf, year / 100);
47 dd(buf, year % 100);
81 Calendar.YEAR,

Completed in 1744 milliseconds

1 2 3 4 5 6 7 8 91011>>