/external/libchrome/base/time/ |
time_to_iso8601.cc | 16 exploded.month, exploded.day_of_month, exploded.hour,
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ym/time.cal.ym.nonmembers/ |
comparisons.pass.cpp | 15 // Returns: x.year() == y.year() && x.month() == y.month(). 21 // Otherwise, returns x.month() < y.month(). 33 using month = std::chrono::month; 58 year_month{year{1234}, month{i}}, 59 year_month{year{1234}, month{j}}, 62 // same month, different years
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.members/ |
ctor.local_days.pass.cpp | 23 // constexpr chrono::month month() const noexcept; 49 static_assert( ymd.month() == std::chrono::January, ""); 59 static_assert( ymd.month() == std::chrono::February, ""); 72 static_assert( ymd.month() == std::chrono::January, ""); 82 assert( ymd.month() == std::chrono::November);
|
ctor.sys_days.pass.cpp | 23 // constexpr chrono::month month() const noexcept; 48 static_assert( ymd.month() == std::chrono::January, ""); 58 static_assert( ymd.month() == std::chrono::February, ""); 71 static_assert( ymd.month() == std::chrono::January, ""); 81 assert( ymd.month() == std::chrono::November);
|
/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; 54 month = atoi(argv[2]); 63 systemtime = getSystemCurrentTime(systime, sysyear, month, day, hour, minute, useCurrentTime); 111 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime) { 122 ts.tm_mon = month - OFFSET_MONTH;
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/ |
plus_minus_equal_year.pass.cpp | 39 using month = std::chrono::month; 52 constexpr month January = std::chrono::January; 61 assert(ymwd.month() == January); 66 assert(ymwd.month() == January); 71 assert(ymwd.month() == January); 76 assert(ymwd.month() == January);
|
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/ |
plus_minus_equal_year.pass.cpp | 39 using month = std::chrono::month; 52 constexpr month January = std::chrono::January; 61 assert(ymwd.month() == January); 65 assert(ymwd.month() == January); 69 assert(ymwd.month() == January); 73 assert(ymwd.month() == January);
|
/external/icu/icu4c/source/i18n/ |
gregoimp.h | 158 * Return the number of days in the given month. 160 * @param month 0-based month, with 0==Jan 161 * @return the number of days in the given month 163 static inline int8_t monthLength(int32_t year, int32_t month); 166 * Return the length of a previous month of the Gregorian calendar. 168 * @param m the 0-based month number 169 * @return the number of days in the month previous to the given month 174 * Convert a year, month, and day-of-month, given in the prolepti [all...] |
gregoimp.cpp | 88 double Grego::fieldsToDay(int32_t year, int32_t month, int32_t dom) { 94 DAYS_BEFORE[month + (isLeapYear(year) ? 12 : 0)] + dom; // => month/dom 99 void Grego::dayToFields(double day, int32_t& year, int32_t& month, 132 month = (12 * (doy + correction) + 6) / 367; // zero-based month 133 dom = doy - DAYS_BEFORE[month + (isLeap ? 12 : 0)] + 1; // one-based DOM 137 void Grego::timeToFields(UDate time, int32_t& year, int32_t& month, 142 dayToFields(day, year, month, dom, dow, doy); 151 int32_t Grego::dayOfWeekInMonth(int32_t year, int32_t month, int32_t dom) [all...] |
coptccal.cpp | 80 int32_t eyear, month, day, era, year; local 81 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); 94 internalSet(UCAL_MONTH, month); 96 internalSet(UCAL_DAY_OF_YEAR, (30 * month) + day); 155 CopticCalendar::copticToJD(int32_t year, int32_t month, int32_t day) 157 return CECalendar::ceToJD(year, month, day, COPTIC_JD_EPOCH_OFFSET);
|
dtrule.cpp | 22 DateTimeRule::DateTimeRule(int32_t month, 26 : fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(0), fWeekInMonth(0), fMillisInDay(millisInDay), 30 DateTimeRule::DateTimeRule(int32_t month, 35 : fMonth(month), fDayOfMonth(0), fDayOfWeek(dayOfWeek), fWeekInMonth(weekInMonth), fMillisInDay(millisInDay), 39 DateTimeRule::DateTimeRule(int32_t month, 46 fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(dayOfWeek), fWeekInMonth(0), fMillisInDay(millisInDay),
|
ethpccal.cpp | 106 int32_t eyear, month, day, era, year; local 107 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); 125 internalSet(UCAL_MONTH, month); 127 internalSet(UCAL_DAY_OF_YEAR, (30 * month) + day); 199 EthiopicCalendar::ethiopicToJD(int32_t year, int32_t month, int32_t date) 201 return ceToJD(year, month, date, JD_EPOCH_OFFSET_AMETE_MIHRET);
|
erarules.cpp | 38 static UBool isValidRuleStartDate(int32_t year, int32_t month, int32_t day) { 40 && month >= 1 && month <= 12 && day >=1 && day <= 31; 44 * Encode year/month/date to a single integer. 45 * year is high 16 bits (-32768 to 32767), month is 46 * next 8 bits and day of month is last 8 bits. 49 * @param month month (1-base) 50 * @param day day of month 53 static int32_t encodeDate(int32_t year, int32_t month, int32_t day) [all...] |
indiancal.h | 39 * Month Length Start date (Gregorian) 79 * Constant for Chaitra, the 1st month of the Indian year. 84 * Constant for Vaisakha, the 2nd month of the Indian year. 89 * Constant for Jyaistha, the 3rd month of the Indian year. 94 * Constant for Asadha, the 4th month of the Indian year. 99 * Constant for Sravana, the 5th month of the Indian year. 104 * Constant for Bhadra the 6th month of the Indian year 109 * Constant for the Asvina, the 7th month of the Indian year. 114 * Constant for Kartika, the 8th month of the Indian year. 119 * Constant for Agrahayana, the 9th month of the Indian year. [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
IslamicCalendar.java | 36 * Each month of the calendar starts when the new moon's crescent is visible 44 * and 30-day months, with a leap day added to the last month of 11 out of 56 * start of a month in the religious calendar to differ from the civil calendar 61 * of a lunar month with a fairly high degree of certainty. However, these 94 * Constant for Muharram, the 1st month of the Islamic year. 99 * Constant for Safar, the 2nd month of the Islamic year. 104 * Constant for Rabi' al-awwal (or Rabi' I), the 3rd month of the Islamic year. 109 * Constant for Rabi' al-thani or (Rabi' II), the 4th month of the Islamic year. 114 * Constant for Jumada al-awwal or (Jumada I), the 5th month of the Islamic year. 119 * Constant for Jumada al-thani or (Jumada II), the 6th month of the Islamic year 752 int month = 12*(extendedYear-1); local 812 int year =0, month=0, dayOfMonth=0, dayOfYear=0; local [all...] |
JapaneseCalendar.java | 162 * @param month The value used to set the calendar's {@link #MONTH MONTH} field. 167 public JapaneseCalendar(int era, int year, int month, int date) { 168 super(year, month, date); 180 * @param month The value used to set the calendar's {@link #MONTH MONTH} field. 185 public JapaneseCalendar(int year, int month, int date) { 186 super(year, month, date) [all...] |
ChineseCalendar.java | 25 * calendar is a lunisolar calendar: Each month starts on a new moon, and 27 * guarantee that month 11 always contains the winter solstice. In order 29 * months are numbered the same as the month they follow. The decision of 30 * which month is a leap month depends on the relative movements of the sun 168 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field. 175 public ChineseCalendar(int year, int month, int isLeapMonth, int date) { 176 this(year, month, isLeapMonth, date, 0, 0, 0) 859 int month = synodicMonthsBetween(firstMoon, thisMoon); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
IslamicCalendar.java | 35 * Each month of the calendar starts when the new moon's crescent is visible 43 * and 30-day months, with a leap day added to the last month of 11 out of 55 * start of a month in the religious calendar to differ from the civil calendar 60 * of a lunar month with a fairly high degree of certainty. However, these 70 * which approach is used to determine the start of a month. By default, the 99 * Constant for Muharram, the 1st month of the Islamic year. 105 * Constant for Safar, the 2nd month of the Islamic year. 111 * Constant for Rabi' al-awwal (or Rabi' I), the 3rd month of the Islamic year. 117 * Constant for Rabi' al-thani or (Rabi' II), the 4th month of the Islamic year. 123 * Constant for Jumada al-awwal or (Jumada I), the 5th month of the Islamic year 782 int month = 12*(extendedYear-1); local 845 int year =0, month=0, dayOfMonth=0, dayOfYear=0; local [all...] |
JapaneseCalendar.java | 169 * @param month The value used to set the calendar's {@link #MONTH MONTH} field. 175 public JapaneseCalendar(int era, int year, int month, int date) { 176 super(year, month, date); 188 * @param month The value used to set the calendar's {@link #MONTH MONTH} field. 194 public JapaneseCalendar(int year, int month, int date) { 195 super(year, month, date) [all...] |
ChineseCalendar.java | 24 * calendar is a lunisolar calendar: Each month starts on a new moon, and 26 * guarantee that month 11 always contains the winter solstice. In order 28 * months are numbered the same as the month they follow. The decision of 29 * which month is a leap month depends on the relative movements of the sun 170 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field. 178 public ChineseCalendar(int year, int month, int isLeapMonth, int date) { 179 this(year, month, isLeapMonth, date, 0, 0, 0) 878 int month = synodicMonthsBetween(firstMoon, thisMoon); local [all...] |
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/ |
comparisons.pass.cpp | 15 // Returns: x.year() == y.year() && x.month() == y.month(). 21 // Otherwise, if x.month() < y.month() returns true. 22 // Otherwise, if x.month() > y.month() returns false. 37 using month = std::chrono::month; 43 constexpr month January = std::chrono::January; 44 constexpr month February = std::chrono::February [all...] |
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/ |
comparisons.pass.cpp | 15 // Returns: x.year() == y.year() && x.month() == y.month() && x.weekday_indexed() == y.weekday_indexed() 29 using month = std::chrono::month; 37 constexpr month January = std::chrono::January; 38 constexpr month February = std::chrono::February; 52 // different month 65 // different month and day 71 // different year and month 83 // different year, month and da [all...] |
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/ |
comparisons.pass.cpp | 15 // Returns: x.year() == y.year() && x.month() == y.month() && x.weekday_last() == y.weekday_last() 29 using month = std::chrono::month; 37 constexpr month January = std::chrono::January; 38 constexpr month February = std::chrono::February; 53 // different month 66 // different month and day 72 // different year and month 84 // different year, month and da [all...] |
/external/python/cpython3/Misc/ |
coverity_model.c | 155 ymd_to_ord(int year, int month, int day) 160 __coverity_tainted_data_sanitize__(month); 167 normalize_date(int *year, int *month, int *day) 170 __coverity_tainted_data_sanitize__(*month); 177 weekday(int year, int month, int day) 182 __coverity_tainted_data_sanitize__(month);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
ChineseTestCase.java | 27 * @param month the MONTH (1-based) field of tested calendar on 29 * @param isLeapMonth if true, treat month as a leap month 36 int era, int year, int month, 43 set(Calendar.MONTH, month - 1); 56 "/" + (get(Calendar.MONTH)+1) +
|