HomeSort by relevance Sort by last modified time
    Searched refs:month (Results 126 - 150 of 603) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/
ok.pass.cpp 26 using month = std::chrono::month;
31 constexpr month January = std::chrono::January;
37 static_assert(!year_month_weekday_last{year{-32768}, month{}, weekday_last{weekday{}}}.ok(), ""); // All three bad
40 static_assert(!year_month_weekday_last{year{2019}, month{}, weekday_last{Tuesday}}.ok(), ""); // Bad month
43 static_assert(!year_month_weekday_last{year{-32768}, month{}, weekday_last{Tuesday}}.ok(), ""); // Bad year & month
44 static_assert(!year_month_weekday_last{year{2019}, month{}, weekday_last{weekday{7}}}.ok(), ""); // Bad month & da
    [all...]
  /external/libcxx/test/std/utilities/time/time.cal/time.cal.mwd/time.cal.mwd.members/
ok.pass.cpp 26 using month = std::chrono::month;
35 static_assert(!month_weekday{month{}, weekday_indexed{}}.ok(), "");
44 month_weekday mwd{month{i}, weekday_indexed{Sunday, j}};
48 // If the month is not ok, all the weekday_indexed are bad
50 assert(!(month_weekday{month{13}, weekday_indexed{Sunday, i}}.ok()));
weekday_indexed.pass.cpp 26 using month = std::chrono::month;
35 static_assert( month_weekday{month{}, weekday_indexed{}}.weekday_indexed() == weekday_indexed{}, "");
  /external/libcxx/test/std/utilities/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/
minus.pass.cpp 32 && ym1.month() == std::chrono::January
40 using month = std::chrono::month;
48 constexpr month January = std::chrono::January;
57 assert(ym1.month() == January);
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
EraRules.java 145 * @return An int array including values of year, month, day of month in this order.
171 * Returns era index for the specified year/month/day.
173 * @param month Month (1-base)
174 * @param day Day of month
177 public int getEraIndex(int year, int month, int day) {
178 if (month < 1 || month > 12 || day < 1 || day > 31) {
179 throw new IllegalArgumentException("Illegal date - year:" + year + "month:" + month + "day:" + day)
257 int year, month, day; local
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
EraRules.java 143 * @return An int array including values of year, month, day of month in this order.
169 * Returns era index for the specified year/month/day.
171 * @param month Month (1-base)
172 * @param day Day of month
175 public int getEraIndex(int year, int month, int day) {
176 if (month < 1 || month > 12 || day < 1 || day > 31) {
177 throw new IllegalArgumentException("Illegal date - year:" + year + "month:" + month + "day:" + day)
255 int year, month, day; local
    [all...]
  /external/apache-harmony/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) {
  /external/icu/icu4c/source/i18n/
cecal.h 68 * Return JD of start of given month/extended year
71 virtual int32_t handleComputeMonthStart(int32_t eyear, int32_t month, UBool useMonth) const;
106 * Convert an Coptic/Ethiopic year, month, and day to a Julian day.
109 * @param month the month
115 static int32_t ceToJD(int32_t year, int32_t month, int32_t date,
119 * Convert a Julian day to an Coptic/Ethiopic year, month and day
124 * @param month receives the month
129 int32_t& year, int32_t& month, int32_t& day)
    [all...]
islamcal.cpp 197 int32_t mask = (int32_t) (0x01 << (11 - m)); // set mask for bit corresponding to month
281 // a month as having 31 days. Since date parsing now uses range checks based
282 // on the table below, we need to change the range for last day of month to
289 { 0, 0, 11, 11}, // MONTH
387 * Return the day # on which the given month starts. Days are counted
391 * @param month The hijri month, 0-based (assumed to be in range 0..11)
393 int32_t IslamicCalendar::monthStart(int32_t year, int32_t month) const {
396 return (int32_t)uprv_ceil(29.5*month)
399 return trueMonthStart(12*(year-1) + month);
537 int32_t month = 12*(extendedYear-1); local
608 int32_t year, month, dayOfMonth, dayOfYear; local
    [all...]
islamcal.h 44 * Each month of the calendar starts when the new moon's crescent is visible
52 * and 30-day months, with a leap day added to the last month of 11 out of
63 * start of a month in the religious calendar to differ from the civil calendar
68 * of a lunar month with a fairly high degree of certainty. However, these
75 * which approach is used to determine the start of a month. By default, the
109 * Constant for Muharram, the 1st month of the Islamic year.
115 * Constant for Safar, the 2nd month of the Islamic year.
121 * Constant for Rabi' al-awwal (or Rabi' I), the 3rd month of the Islamic year.
127 * Constant for Rabi' al-thani or (Rabi' II), the 4th month of the Islamic year.
133 * Constant for Jumada al-awwal or (Jumada I), the 5th month of the Islamic year.
    [all...]
  /external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwd/time.cal.ymwd.nonmembers/
plus.pass.cpp 15 // Returns: (ymd.year() / ymd.month() + dm) / ymd.day().
22 // Returns: (ymd.year() + dy) / ymd.month() / ymd.day().
48 if (static_cast<unsigned>((ym ).month()) != 1) return false;
49 if (static_cast<unsigned>((ym + offset).month()) != 7) return false;
50 if (static_cast<unsigned>((offset + ym).month()) != 7) return false;
58 using month = std::chrono::month;
66 constexpr month January = std::chrono::January;
84 assert(ym1.month() == month(1 + i))
    [all...]
minus.pass.cpp 35 && ym1.month() == std::chrono::January
47 && ym1.month() == std::chrono::May
57 using month = std::chrono::month;
64 constexpr month November = std::chrono::November;
78 assert(ym1.month() == November);
95 assert(ym1.month() == month{11-i});
  /external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.nonmembers/
plus.pass.cpp 15 // Returns: (ymwdl.year() / ymwdl.month() + dm) / ymwdl.weekday_last().
21 // Returns: {ymwdl.year()+dy, ymwdl.month(), ymwdl.weekday_last()}.
44 if (static_cast<unsigned>((ym ).month()) != 1) return false;
45 if (static_cast<unsigned>((ym + offset).month()) != 7) return false;
46 if (static_cast<unsigned>((offset + ym).month()) != 7) return false;
54 using month = std::chrono::month;
62 constexpr month January = std::chrono::January;
80 assert(ym1.month() == month(1 + i))
    [all...]
minus.pass.cpp 39 if (static_cast<unsigned>((ym ).month()) != 10) return false;
40 if (static_cast<unsigned>((ym - offset).month()) != 4) return false;
47 using month = std::chrono::month;
54 constexpr month October = std::chrono::October;
69 assert(ym1.month() == October);
87 assert(ym1.month() == month{10 - i});
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
XMPDateTimeImpl.java 34 private int month = 0; field in class:XMPDateTimeImpl
81 this.month = intCalendar.get(Calendar.MONTH) + 1; // cal is from 0..12
103 this.month = calendar.get(Calendar.MONTH) + 1; // cal is from 0..12
148 return month;
155 public void setMonth(int month)
157 if (month < 1)
159 this.month = 1;
161 else if (month > 12
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/util/
CopticCalendar.java 32 * the 1st month of the Coptic year.
38 * the 2nd month of the Coptic year.
44 * the 3rd month of the Coptic year.
50 * the 4th month of the Coptic year.
56 * the 5th month of the Coptic year.
62 * the 6th month of the Coptic year.
68 * the 7th month of the Coptic year.
74 * the 8th month of the Coptic year.
80 * the 9th month of the Coptic year.
86 * the 10th month of the Coptic year.
    [all...]
GregorianCalendar.java 72 * 1 to 4 or 5. Week 1 of a month (the days with <code>WEEK_OF_MONTH =
74 * <code>getMinimalDaysInFirstWeek()</code> contiguous days in that month,
76 * week 1 of a year, week 1 of a month may be shorter than 7 days, need
78 * the previous month. Days of a month before week 1 have a
118 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH));
143 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH));
246 // len length of month
734 int eyear, month, dayOfMonth, dayOfYear; local
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
CopticCalendar.java 32 * the 1st month of the Coptic year.
39 * the 2nd month of the Coptic year.
46 * the 3rd month of the Coptic year.
53 * the 4th month of the Coptic year.
60 * the 5th month of the Coptic year.
67 * the 6th month of the Coptic year.
74 * the 7th month of the Coptic year.
81 * the 8th month of the Coptic year.
88 * the 9th month of the Coptic year.
95 * the 10th month of the Coptic year.
    [all...]
GregorianCalendar.java 71 * 1 to 4 or 5. Week 1 of a month (the days with <code>WEEK_OF_MONTH =
73 * <code>getMinimalDaysInFirstWeek()</code> contiguous days in that month,
75 * week 1 of a year, week 1 of a month may be shorter than 7 days, need
77 * the previous month. Days of a month before week 1 have a
117 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH));
142 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH));
248 // len length of month
759 int eyear, month, dayOfMonth, dayOfYear; local
    [all...]
  /external/libcxx/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/
comparisons.pass.cpp 33 using month = std::chrono::month;
40 constexpr month January = std::chrono::January;
41 constexpr month February = std::chrono::February;
48 // different month
60 // different month
66 // different year and month
76 year_month_day_last{year{1234}, month_day_last{month{i}}},
77 year_month_day_last{year{1234}, month_day_last{month{j}}},
80 // same month, different year
    [all...]
  /cts/tests/autofillservice/src/android/autofillservice/cts/
AbstractDatePickerActivity.java 76 private void updateOutputWithDate(int year, int month, int day) {
77 final String date = year + "/" + month + "/" + day;
96 void expectAutoFill(String output, int year, int month, int day) {
97 mExpectation = new FillExpectation(output, year, month, day);
125 void setDate(int year, int month, int day) {
126 syncRunOnUiThread(() -> mDatePicker.updateDate(year, month, day));
147 private FillExpectation(String output, int year, int month, int day) {
150 dateListener = new OneTimeDateListener("datePicker", mDatePicker, year, month, day);
  /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...]
  /development/tools/repo_diff/service/repodiff/utils/
time.go 15 year, month, day := t.Unix(int64(timestamp), 0).Date()
16 return fmt.Sprintf("%04d-%02d-%02d", year, month, day)
25 asTime.Month(),
  /external/icu/icu4c/source/samples/translit/answers/
main_1.cpp 43 for (int32_t month = Calendar::JANUARY;
44 month <= Calendar::DECEMBER;
45 ++month) {
49 cal->set(1999, month, 4);
main_2.cpp 51 for (int32_t month = Calendar::JANUARY;
52 month <= Calendar::DECEMBER;
53 ++month) {
57 cal->set(1999, month, 4);

Completed in 2708 milliseconds

1 2 3 4 56 7 8 91011>>