/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
SetDateTimeActivity.java | 61 String month = result.get(mIndex); local 68 if (months[i].equals(month)) { 153 public static void setDate(Context context, int year, int month, int day) { 157 c.set(Calendar.MONTH, month);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
winnls32.h | 17 WORD month; member in struct:_tagDATETIME
|
/prebuilts/gdb/darwin-x86/include/python2.7/ |
datetime.h | 15 * 2 month 1 byte, 1-12 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/gdb/linux-x86/include/python2.7/ |
datetime.h | 15 * 2 month 1 byte, 1-12 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/darwin-x86/2.7.5/include/python2.7/ |
datetime.h | 15 * 2 month 1 byte, 1-12 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 | 15 * 2 month 1 byte, 1-12 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, \
|
/system/update_engine/update_manager/ |
real_time_provider_unittest.cc | 47 now_exp.month = 3;
|
/toolchain/binutils/binutils-2.25/include/nlm/ |
external.h | 64 unsigned char month[NLM_TARGET_LONG_SIZE]; local
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
HebrewTest.java | 49 * The only real nastiness with roll is the MONTH field, since a year can 55 // year month day field amount year month day 57 { 5759, HESHVAN, 2, MONTH, 1, 5759, KISLEV, 2 }, // non-leap years 58 { 5759, SHEVAT, 2, MONTH, 1, 5759, ADAR, 2 }, 59 { 5759, SHEVAT, 2, MONTH, 2, 5759, NISAN, 2 }, 60 { 5759, SHEVAT, 2, MONTH, 12, 5759, SHEVAT, 2 }, 61 { 5759, AV, 1, MONTH, 12, 5759, AV, 1 }, // Alan 63 { 5757, HESHVAN, 2, MONTH, 1, 5757, KISLEV, 2 }, // leap years 64 { 5757, SHEVAT, 2, MONTH, 1, 5757, ADAR_1, 2 } [all...] |
CompatibilityTest.java | 35 "ERA", "YEAR", "MONTH", "WEEK_OF_YEAR", "WEEK_OF_MONTH", 102 int y = cal.get(Calendar.YEAR), mon = cal.get(Calendar.MONTH)+1-Calendar.JANUARY, 175 // Julian# Year Month DOM JULIAN:Year, Month, DOM 191 int month = DATA[i+2]; local 200 cal.set(year, month, dom); 205 month2 = cal.get(Calendar.MONTH); 207 s = "G " + year + "-" + (month+1-Calendar.JANUARY) + "-" + dom + 211 if (delta != 0 || year != year2 || month != month2 || 217 month = DATA[i+5] 450 int year = 1997, month = Calendar.APRIL, date = 1; local 766 private int month; field in class:CompatibilityTest.TransitionItem 952 int month = java.util.Calendar.OCTOBER; \/\/october local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
HebrewTest.java | 45 * The only real nastiness with roll is the MONTH field, since a year can 51 // year month day field amount year month day 53 { 5759, HESHVAN, 2, MONTH, 1, 5759, KISLEV, 2 }, // non-leap years 54 { 5759, SHEVAT, 2, MONTH, 1, 5759, ADAR, 2 }, 55 { 5759, SHEVAT, 2, MONTH, 2, 5759, NISAN, 2 }, 56 { 5759, SHEVAT, 2, MONTH, 12, 5759, SHEVAT, 2 }, 57 { 5759, AV, 1, MONTH, 12, 5759, AV, 1 }, // Alan 59 { 5757, HESHVAN, 2, MONTH, 1, 5757, KISLEV, 2 }, // leap years 60 { 5757, SHEVAT, 2, MONTH, 1, 5757, ADAR_1, 2 } [all...] |
CompatibilityTest.java | 31 "ERA", "YEAR", "MONTH", "WEEK_OF_YEAR", "WEEK_OF_MONTH", 98 int y = cal.get(Calendar.YEAR), mon = cal.get(Calendar.MONTH)+1-Calendar.JANUARY, 171 // Julian# Year Month DOM JULIAN:Year, Month, DOM 187 int month = DATA[i+2]; local 196 cal.set(year, month, dom); 201 month2 = cal.get(Calendar.MONTH); 203 s = "G " + year + "-" + (month+1-Calendar.JANUARY) + "-" + dom + 207 if (delta != 0 || year != year2 || month != month2 || 213 month = DATA[i+5] 446 int year = 1997, month = Calendar.APRIL, date = 1; local 762 private int month; field in class:CompatibilityTest.TransitionItem 948 int month = java.util.Calendar.OCTOBER; \/\/october local [all...] |
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/ |
c_locale_win32.c | 200 char *month[12]; member in struct:_Locale_time 714 int size, month, dayofweek; local 732 for (month = LOCALE_SMONTHNAME1; month <= LOCALE_SMONTHNAME12; ++month) { /* Small hack :-) */ 733 size = GetLocaleInfoA(ltime->lc.id, month, NULL, 0); 734 ltime->month[month - LOCALE_SMONTHNAME1] = (char*)malloc(size); 735 if (!ltime->month[month - LOCALE_SMONTHNAME1] [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/ |
DateTimeParser.java | 101 private int month; field in class:DateTimeParser.Date 104 public Date(String year, int month, int day) { 106 this.month = month; 111 public int getMonth() { return month; } 205 m = month(); 218 final public int month() throws ParseException { method in class:DateTimeParser
|
/packages/services/Telephony/src/org/apache/james/mime4j/field/datetime/parser/ |
DateTimeParser.java | 101 private int month; field in class:DateTimeParser.Date 104 public Date(String year, int month, int day) { 106 this.month = month; 111 public int getMonth() { return month; } 205 m = month(); 218 final public int month() throws ParseException { method in class:DateTimeParser
|
/frameworks/base/core/java/android/widget/ |
DatePickerSpinnerDelegate.java | 139 mTempDate.add(Calendar.MONTH, 1); 141 mTempDate.add(Calendar.MONTH, -1); 143 mTempDate.add(Calendar.MONTH, newVal - oldVal); 151 setDate(mTempDate.get(Calendar.YEAR), mTempDate.get(Calendar.MONTH), 164 public void onSelectedDayChange(CalendarView view, int year, int month, int monthDay) { 165 setDate(year, month, monthDay); 178 // month 179 mMonthSpinner = (NumberPicker) mDelegator.findViewById(com.android.internal.R.id.month); 226 init(mCurrentDate.get(Calendar.YEAR), mCurrentDate.get(Calendar.MONTH), mCurrentDate 252 public void updateDate(int year, int month, int dayOfMonth) [all...] |
DayPickerPagerAdapter.java | 82 final int diffMonth = mMaxDate.get(Calendar.MONTH) - mMinDate.get(Calendar.MONTH); 193 return (position + mMinDate.get(Calendar.MONTH)) % MONTHS_IN_YEAR; 197 final int yearOffset = (position + mMinDate.get(Calendar.MONTH)) / MONTHS_IN_YEAR; 207 final int monthOffset = day.get(Calendar.MONTH) - mMinDate.get(Calendar.MONTH); 236 final int month = getMonthForPosition(position); local 240 if (mSelectedDay != null && mSelectedDay.get(Calendar.MONTH) == month) { 247 if (mMinDate.get(Calendar.MONTH) == month && mMinDate.get(Calendar.YEAR) == year) [all...] |
/external/autotest/site_utils/suite_scheduler/ |
manifest_versions_unittest.py | 164 since_date = datetime.datetime(year=2015, month=2, day=1) 182 since_date = datetime.datetime(year=2015, month=2, day=1) 194 since_date = datetime.datetime(year=2015, month=2, day=1) 204 since_date = datetime.datetime(year=2015, month=2, day=1) 217 since_date = datetime.datetime(year=2015, month=2, day=1)
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/ |
CalendarPanel.java | 106 int month = fCalendar[0].get(Calendar.MONTH); local 111 fCalendar[0].set(Calendar.MONTH, month); 140 // Stash away a Date for the start of this month 142 // Find the day of week of the first day in this month 147 // Now find the # of days in the month 151 // Finally, find the end of the month, i.e. the start of the next one 153 c.add(Calendar.MONTH, 1); 163 // Calculate the number of full or partial weeks in this month 329 String month = fSymbols[i].getMonths()[ local [all...] |
/external/wpa_supplicant_8/src/utils/ |
os_internal.c | 57 int os_mktime(int year, int month, int day, int hour, int min, int sec, 62 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || 69 tm.tm_mon = month - 1; 92 tm->month = tm2->tm_mon + 1;
|
/libcore/luni/src/test/java/libcore/java/util/ |
CalendarTest.java | 147 private void testSetSelfConsistent(TimeZone timeZone, int year, int month, int day) { 152 calendar.set(year, month, day, hour, minute); 154 assertEquals(month, calendar.get(Calendar.MONTH)); 199 int year, int month, int day, int hour, int minute) { 201 assertEquals("month", month, calendar.get(Calendar.MONTH)); 230 cal.set(Calendar.MONTH, Calendar.JANUARY);
|
/external/icu/icu4c/source/i18n/ |
olsontz.cpp | 329 int32_t OlsonTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, 332 if (month < UCAL_JANUARY || month > UCAL_DECEMBER) { 338 return getOffset(era, year, month, dom, dow, millis, 339 Grego::monthLength(year, month), 347 int32_t OlsonTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, 356 || month < UCAL_JANUARY 357 || month > UCAL_DECEMBER 375 return finalZone->getOffset(era, year, month, dom, dow, 380 UDate date = (UDate)(Grego::fieldsToDay(year, month, dom) * U_MILLIS_PER_DAY + millis) 438 int32_t year, month, dom, dow; local 570 int32_t year, month, dom, dow, doy, mid; local [all...] |
/external/libchrome/base/metrics/ |
field_trial.cc | 29 // Created a time value based on |year|, |month| and |day_of_month| parameters. 30 Time CreateTimeFromParams(int year, int month, int day_of_month) { 32 DCHECK_GT(month, 0); 33 DCHECK_LT(month, 13); 39 exploded.month = month; 333 const int month, 339 year, month, day_of_month, randomization_type, 0, default_group_number); 348 const int month, 399 if (GetBuildTime() > CreateTimeFromParams(year, month, day_of_month) [all...] |
/libcore/luni/src/main/java/libcore/util/ |
ZoneInfo.java | 357 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int millis) { 375 calc += mlen[month] * MILLISECONDS_PER_DAY; 689 private int month; field in class:ZoneInfo.WallTime [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
Calendar.java | 21 * <code>YEAR</code>, <code>MONTH</code>, <code>DAY</code>, <code>HOUR</code>, 55 * as well as their meaning. For example, the first month of the year has value 56 * <code>MONTH</code> == <code>JANUARY</code> for all calendars. Other values 63 * <code>GregorianCalendar</code> interprets <code>MONTH</code> == 69 * values between 1 and the length of the month. 79 * first week of the month or year as a reference point. The first week of a 80 * month or year is defined as the earliest seven day period beginning on 82 * <code>getMinimalDaysInFirstWeek()</code> days of that month or year. Weeks 91 * <code>Date</code> (such as only year and month but no day in the month), o 1399 calendar.set(getJDKField(MONTH), month); local 1418 calendar.set(getJDKField(MONTH), month); local 1441 calendar.set(getJDKField(MONTH), month); local [all...] |