/libcore/support/src/test/java/tests/support/ |
Support_TimeZone.java | 46 * let's assume this timezone has daylight savings from the 4th month till 47 * the 10th month of the year to ame things simple. 56 int month = cal.get(Calendar.MONTH); local 58 if (month > 4 && month < 10) {
|
/system/core/logcat/tests/ |
logcat_benchmark.cpp | 34 int month; member in class:timestamp 48 &month, &day, &hour, &minute, &second, &millisecond) == 6; 60 || (month < T.month) 61 || ((month == T.month)
|
/external/chromium_org/components/autofill/core/browser/ |
validation.h | 16 // Returns true if |year| and |month| describe a date later than |now|. 19 const base::string16& month, 22 int month,
|
validation_unittest.cc | 17 const char* month; member in struct:autofill::__anon10971::ExpirationDate 22 const int month; member in struct:autofill::__anon10971::IntExpirationDate 56 { "2013", "5" }, // Valid month in current year. 57 { "2014", "1" }, // Any month in next year. 58 { "2014", " 1" }, // Whitespace in month. 62 { 2013, 5 }, // Valid month in current year. 63 { 2014, 1 }, // Any month in next year. 66 { "2013", "04" }, // Previous month in current year. 67 { "2012", "12" }, // Any month in previous year. 70 { 2013, 4 }, // Previous month in current year [all...] |
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
datefuncs.py | 9 year, month, day = s.split("-") 13 year, month, day = int(year), int(month), int(day) 15 return createDateClass(year, month, day, hour, minute, second) 22 def createDateClass(year, month, day, hour, minute, second): 23 return datetime(year, month, day, hour, minute, second) 50 def createDateClass(year, month, day, hour, minute, second): 53 c.set(year, month-1, day, hour, minute, second) 58 (d.get(d.YEAR), d.get(d.MONTH)+1, d.get(d.DATE), \
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
MonthAdapter.java | 54 int month; field in class:MonthAdapter.CalendarDay 67 month = calendar.get(Calendar.MONTH); 71 public CalendarDay(int year, int month, int day) { 72 setDay(year, month, day); 77 month = date.month; 81 public void setDay(int year, int month, int day) { 83 this.month = month; 191 final int month = position % MONTHS_IN_YEAR; local [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/ |
DateTime.java | 35 private final int month; field in class:DateTime 42 public DateTime(String yearString, int month, int day, int hour, int minute, int second, int timeZone) { 44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone); 45 this.month = month; 69 public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, int timeZone) { 71 c.set(year, month - 1, day, hour, minute, second); 91 return month;
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
SIPDate.java | 108 /** month member 110 protected int month; field in class:SIPDate 141 this.month == other.month && 154 month = -1; 202 month = javaCal.get(Calendar.MONTH); 203 switch (month) { 242 "No date map for month " + month); [all...] |
/external/chromium_org/net/ftp/ |
ftp_directory_listing_parser_unittest.h | 24 int month; member in struct:net::FtpDirectoryListingParserTest::SingleLineTestData 54 EXPECT_EQ(test_case.month, time_exploded.month); 65 mock_current_time_exploded.month = 11;
|
ftp_util.cc | 130 // Lazy-initialized map of abbreviated month names. 137 // Converts abbreviated month name |text| to its number (in range 1-12). 140 // Ignore the case of the month names. The simplest way to handle that 175 for (int32_t month = 0; month < months_count; month++) { 176 base::string16 month_name(months[month].getBuffer(), 177 static_cast<size_t>(months[month].length())); 179 // Ignore the case of the month names. The simplest way to handle that 183 map_[month_name] = month + 1 [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
islamcal.h | 42 * Each month of the calendar starts when the new moon's crescent is visible 50 * and 30-day months, with a leap day added to the last month of 11 out of 61 * start of a month in the religious calendar to differ from the civil calendar 66 * of a lunar month with a fairly high degree of certainty. However, these 73 * which approach is used to determine the start of a month. By default, the 107 * Constant for Muharram, the 1st month of the Islamic year. 113 * Constant for Safar, the 2nd month of the Islamic year. 119 * Constant for Rabi' al-awwal (or Rabi' I), the 3rd month of the Islamic year. 125 * Constant for Rabi' al-thani or (Rabi' II), the 4th month of the Islamic year. 131 * Constant for Jumada al-awwal or (Jumada I), the 5th month of the Islamic year. [all...] |
gregoimp.h | 145 * Return the number of days in the given month. 147 * @param month 0-based month, with 0==Jan 148 * @return the number of days in the given month 150 static inline int8_t monthLength(int32_t year, int32_t month); 153 * Return the length of a previous month of the Gregorian calendar. 155 * @param m the 0-based month number 156 * @return the number of days in the month previous to the given month 161 * Convert a year, month, and day-of-month, given in the prolepti [all...] |
coptccal.cpp | 78 int32_t eyear, month, day, era, year; local 79 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); 92 internalSet(UCAL_MONTH, month); 94 internalSet(UCAL_DAY_OF_YEAR, (30 * month) + day); 153 CopticCalendar::copticToJD(int32_t year, int32_t month, int32_t day) 155 return CECalendar::ceToJD(year, month, day, COPTIC_JD_EPOCH_OFFSET);
|
dtrule.cpp | 20 DateTimeRule::DateTimeRule(int32_t month, 24 : fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(0), fWeekInMonth(0), fMillisInDay(millisInDay), 28 DateTimeRule::DateTimeRule(int32_t month, 33 : fMonth(month), fDayOfMonth(0), fDayOfWeek(dayOfWeek), fWeekInMonth(weekInMonth), fMillisInDay(millisInDay), 37 DateTimeRule::DateTimeRule(int32_t month, 44 fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(dayOfWeek), fWeekInMonth(0), fMillisInDay(millisInDay),
|
ethpccal.cpp | 104 int32_t eyear, month, day, era, year; local 105 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); 123 internalSet(UCAL_MONTH, month); 125 internalSet(UCAL_DAY_OF_YEAR, (30 * month) + day); 197 EthiopicCalendar::ethiopicToJD(int32_t year, int32_t month, int32_t date) 199 return ceToJD(year, month, date, JD_EPOCH_OFFSET_AMETE_MIHRET);
|
/external/chromium_org/third_party/icu/source/samples/translit/answers/ |
main_1.cpp | 39 for (int32_t month = Calendar::JANUARY; 40 month <= Calendar::DECEMBER; 41 ++month) { 45 cal->set(1999, month, 4);
|
main_2.cpp | 47 for (int32_t month = Calendar::JANUARY; 48 month <= Calendar::DECEMBER; 49 ++month) { 53 cal->set(1999, month, 4);
|
/external/chromium_org/v8/test/cctest/ |
test-date.cc | 49 int year, month, day; local 50 YearMonthDayFromDays(days, &year, &month, &day); 51 Rule* rule = FindRuleFor(year, month, day, time_in_day_sec); 61 Rule* FindRuleFor(int year, int month, int day, int time_in_day_sec) { 64 if (Match(&rules_[i], year, month, day, time_in_day_sec)) { 71 bool Match(Rule* rule, int year, int month, int day, int time_in_day_sec) { 73 if (rule->start_month > month) return false; 74 if (rule->end_month < month) return false; 76 if (rule->start_month == month && start_day > day) return false; 77 if (rule->start_month == month && start_day == day & [all...] |
/external/icu/icu4c/source/i18n/ |
islamcal.h | 42 * Each month of the calendar starts when the new moon's crescent is visible 50 * and 30-day months, with a leap day added to the last month of 11 out of 61 * start of a month in the religious calendar to differ from the civil calendar 66 * of a lunar month with a fairly high degree of certainty. However, these 73 * which approach is used to determine the start of a month. By default, the 107 * Constant for Muharram, the 1st month of the Islamic year. 113 * Constant for Safar, the 2nd month of the Islamic year. 119 * Constant for Rabi' al-awwal (or Rabi' I), the 3rd month of the Islamic year. 125 * Constant for Rabi' al-thani or (Rabi' II), the 4th month of the Islamic year. 131 * Constant for Jumada al-awwal or (Jumada I), the 5th month of the Islamic year. [all...] |
gregoimp.h | 145 * Return the number of days in the given month. 147 * @param month 0-based month, with 0==Jan 148 * @return the number of days in the given month 150 static inline int8_t monthLength(int32_t year, int32_t month); 153 * Return the length of a previous month of the Gregorian calendar. 155 * @param m the 0-based month number 156 * @return the number of days in the month previous to the given month 161 * Convert a year, month, and day-of-month, given in the prolepti [all...] |
/external/icu/icu4c/source/samples/translit/answers/ |
main_1.cpp | 39 for (int32_t month = Calendar::JANUARY; 40 month <= Calendar::DECEMBER; 41 ++month) { 45 cal->set(1999, month, 4);
|
main_2.cpp | 47 for (int32_t month = Calendar::JANUARY; 48 month <= Calendar::DECEMBER; 49 ++month) { 53 cal->set(1999, month, 4);
|
/external/chromium_org/third_party/icu/source/test/compat/ |
tzdate.c | 32 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime); 39 int year, month, day, hour, minute; local 44 sysyear = year = month = day = 0; 52 month = atoi(argv[2]); 61 systemtime = getSystemCurrentTime(systime, sysyear, month, day, hour, minute, useCurrentTime); 109 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime) { 120 ts.tm_mon = month - OFFSET_MONTH;
|
/external/icu/icu4c/source/test/compat/ |
tzdate.c | 32 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime); 39 int year, month, day, hour, minute; local 44 sysyear = year = month = day = 0; 52 month = atoi(argv[2]); 61 systemtime = getSystemCurrentTime(systime, sysyear, month, day, hour, minute, useCurrentTime); 109 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime) { 120 ts.tm_mon = month - OFFSET_MONTH;
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
DateComponents.cpp | 54 // 'month' is 0-based. 55 static int maxDayOfMonth(int year, int month) 57 if (month != 1) // February? 58 return daysInMonth[month]; 62 // 'month' is 0-based. 63 static int dayOfWeek(int year, int month, int day) 65 int shiftedMonth = month + 2; 141 static bool withinHTMLDateLimits(int year, int month) 147 return month <= maximumMonthInMaximumYear; 150 static bool withinHTMLDateLimits(int year, int month, int monthDay 185 int month = m_month; local 204 int month = m_month; local 334 int month; local 585 int month = static_cast<int>(doubleMonth); local [all...] |