/external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/ |
H A D | 2-1-buildonly.c | 16 int week, year, dst; local 25 year = t.tm_yday;
|
/external/mesa3d/src/mesa/main/ |
H A D | extensions.h | 81 uint16_t year; member in struct:mesa_extension
|
/external/guice/extensions/grapher/test/com/google/inject/grapher/demo/ |
H A D | EnergySourceProvider.java | 27 @Inject void setYear(@Named("year") int year) {} argument
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
H A D | ChineseTestCase.java | 25 * @param year the YEAR field of tested calendar on the given 36 int era, int year, int month, 42 set(Calendar.YEAR, year); 35 ChineseTestCase(double julian, int era, int year, int month, boolean isLeapMonth, int dayOfMonth, int dayOfWeek) argument
|
H A D | ChineseTest.java | 185 // thorough, but try to test at least a full year, preferably a 186 // full non-leap and a full leap year. 251 new ChineseTestCase(2467496.5, 78, 60, 8, false, 2, FRI), // year 60 445 // year mon day field amount year mon day 447 { 4639, 12,0, 15, MONTH, 1, 4640, 1,0, 15 }, // across year 448 { 4640, 1,0, 15, MONTH, -1, 4639, 12,0, 15 }, // across year 471 // year mon day field amount year mon day 474 { 4639, 12,0, 15, MONTH, 1, 4639, 1,0, 15 }, // across year 533 ymdToString(int year, int month, int isLeapMonth, int day) argument [all...] |
H A D | DangiTest.java | 163 // thorough, but try to test at least a full year, preferably a 164 // full non-leap and a full leap year. 306 // year mon day field amount year mon day 308 { 4335, 12,0, 15, MONTH, 1, 4336, 1,0, 15 }, // across year 309 { 4336, 1,0, 15, MONTH, -1, 4335, 12,0, 15 }, // across year 332 // year mon day field amount year mon day 335 { 4335, 12,0, 15, MONTH, 1, 4335, 1,0, 15 }, // across year 336 { 4336, 1,0, 15, MONTH, -1, 4336, 12,0, 15 }, // across year 387 ymdToString(int year, int month, int isLeapMonth, int day) argument [all...] |
/external/icu/icu4c/source/test/intltest/ |
H A D | calcasts.h | 32 int32_t year; member in struct:CalendarCaseTest::TestCase
|
/external/icu/icu4c/source/tools/tzcode/ |
H A D | 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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
H A D | ChineseTestCase.java | 22 * @param year the YEAR field of tested calendar on the given 33 int era, int year, int month, 39 set(Calendar.YEAR, year); 32 ChineseTestCase(double julian, int era, int year, int month, boolean isLeapMonth, int dayOfMonth, int dayOfWeek) argument
|
/external/javassist/sample/reflect/ |
H A D | Person.java | 30 public int getAge(int year) {
argument 31 return year - birth;
|
/external/protobuf/src/google/protobuf/stubs/ |
H A D | time.h | 40 int year; member in struct:google::protobuf::internal::DateTime
|
H A D | time_test.cc | 43 int64 CreateTimestamp(int year, int month, int day) { argument 45 time.year = year; 53 GOOGLE_CHECK(time.year == year); 62 EXPECT_EQ(1970, time.year); 73 EXPECT_EQ(1969, time.year); 83 start.year = 1; 89 end.year = 9999; 138 // Non-leap year [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/ |
H A D | DatePickerDialogTask.java | 36 public DatePickerDialogTask(int year, int month, int day) { argument 37 mYear = year; 47 public void onDateSet(DatePicker view, int year, int month, int day) { 51 result.put("year", year); 66 result.put("year", mYear); 81 result.put("year", mYear);
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
H A D | 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; 26 __constructor__(Context context, int theme, DatePickerDialog.OnDateSetListener callBack, int year, int monthOfYear, int dayOfMonth) argument 43 __constructor__(Context context, int theme, DatePickerDialog.OnDateSetListener callBack, Calendar calendar, int year, int monthOfYear, int dayOfMonth) argument [all...] |
/external/toybox/toys/posix/ |
H A D | 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/icu/android_icu4j/src/main/java/android/icu/util/ |
H A D | 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) { argument 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, argument 167 super(year, month, date, hour, minute, second); 186 // EXTENDED_YEAR in BuddhistCalendar is a Gregorian year 188 int year; 190 year [all...] |
H A D | SimpleDateRule.java | 149 int year = c.get(Calendar.YEAR); 152 // If the rule is earlier in the year than the start date 153 // we have to go to the next year. 155 year++; 158 // Figure out when the rule lands in the given year 159 Date result = computeInYear(year, c); 162 // to get a result that's before the start. If so, go to next year. 164 result = computeInYear(year+1, c); 174 private Date computeInYear(int year, Calendar c) argument 179 c.set(Calendar.YEAR, year); [all...] |
H A D | 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) { argument 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, argument 164 super(year, month, date, hour, minute, second); 184 // EXTENDED_YEAR in TaiwanCalendar is a Gregorian year 186 int year = GREGORIAN_EPOCH; 189 year [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
H A D | AbstractTestLog.java | 116 public boolean isDateAtLeast(int year, int month, int day){ argument 118 Calendar c = new GregorianCalendar(year, month, day);
|
/external/icu/icu4c/source/i18n/ |
H A D | cecal.cpp | 112 CECalendar::ceToJD(int32_t year, int32_t month, int32_t date, int32_t jdEpochOffset) argument 116 year += month/13; 120 year += month/13 - 1; 125 + 365 * year // number of days from years 126 + ClockMath::floorDivide(year, 4) // extra day of leap year 133 CECalendar::jdToCE(int32_t julianDay, int32_t jdEpochOffset, int32_t& year, int32_t& month, int32_t& day) argument 135 int32_t c4; // number of 4 year cycle (1461 days) 136 int32_t r4; // remainder of 4 year cycle, always positive 140 year [all...] |
H A D | 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); 102 * and year are set, they do not change. 155 CopticCalendar::copticToJD(int32_t year, int32_ [all...] |
/external/icu/icu4c/source/test/compat/ |
H A D | 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) { argument 121 ts.tm_year = year;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | 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) { argument 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, argument 177 super(year, month, date, hour, minute, second); 197 // EXTENDED_YEAR in BuddhistCalendar is a Gregorian year 199 int year; 201 year [all...] |
H A D | SimpleDateRule.java | 154 int year = c.get(Calendar.YEAR); 157 // If the rule is earlier in the year than the start date 158 // we have to go to the next year. 160 year++; 163 // Figure out when the rule lands in the given year 164 Date result = computeInYear(year, c); 167 // to get a result that's before the start. If so, go to next year. 169 result = computeInYear(year+1, c); 179 private Date computeInYear(int year, Calendar c) argument 184 c.set(Calendar.YEAR, year); [all...] |
H A D | 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) { argument 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, argument 176 super(year, month, date, hour, minute, second); 197 // EXTENDED_YEAR in TaiwanCalendar is a Gregorian year 199 int year = GREGORIAN_EPOCH; 202 year [all...] |