/external/icu/icu4c/source/test/cintltst/ |
ccaltst.h | 89 static void verify1(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day); 91 static void verify2(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day,
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
ChineseTestCase.java | 24 * @param month the MONTH (1-based) field of tested calendar on 26 * @param isLeapMonth if true, treat month as a leap month 33 int era, int year, int month, 40 set(Calendar.MONTH, month - 1); 53 "/" + (get(Calendar.MONTH)+1) +
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
HebrewHoliday.java | 30 public HebrewHoliday(int month, int date, String name) 32 this(month, date, 1, name); 38 public HebrewHoliday(int month, int date, int length, String name) 40 super(name, new SimpleDateRule(month, date, gCalendar));
|
TaiwanCalendar.java | 139 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field. 144 public TaiwanCalendar(int year, int month, int date) { 145 super(year, month, date); 154 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field. 161 public TaiwanCalendar(int year, int month, int date, int hour, 164 super(year, month, date, hour, minute, second) [all...] |
VTimeZone.java | 81 public int getOffset(int era, int year, int month, int day, int dayOfWeek, 83 return tz.getOffset(era, year, month, day, dayOfWeek, milliseconds); 420 // Month length in regular year 847 int month = ruleFields[0]; local 857 if (ruleFields.length != 10 || month == -1 || dayOfWeek == 0) { 862 int firstDay = 31; // max possible number of dates in a month 869 days[i] = days[i] > 0 ? days[i] : MONTHLENGTH[month] + days[i] + 1; 1711 int month = -1, dom = 0, dow = 0, dtype = -1; local 1924 int year = 0, month = 0, day = 0, hour = 0, min = 0, sec = 0; local [all...] |
SimpleTimeZone.java | 24 * <code>SimpleTimeZone</code> should count from the end of the month backwards. For 25 * example, if Daylight Savings Time starts or ends at the last Sunday in a month, use 80 * By default, this constructor specifies day-of-week-in-month rules. That 86 * Day of month. To specify an exact day of the month, such as March 1, set 89 * Day of week after day of month. To specify the first day of the week 90 * occurring on or after an exact day of the month, make the day of the week 95 * Day of week before day of month. To specify the last day of the week 96 * occurring on or before an exact day of the month, make the day of the 97 * week and the day of the month negative. For example, if startDay is -2 [all...] |
/external/icu/icu4c/source/samples/translit/answers/ |
main_3.cpp | 70 for (int32_t month = Calendar::JANUARY; 71 month <= Calendar::DECEMBER; 72 ++month) { 76 cal->set(1999, month, 4);
|
main_4.cpp | 74 for (int32_t month = Calendar::JANUARY; 75 month <= Calendar::DECEMBER; 76 ++month) { 80 cal->set(1999, month, 4);
|
/external/icu/icu4c/source/samples/translit/ |
main.cpp | 76 for (int32_t month = Calendar::JANUARY; 77 month <= Calendar::DECEMBER; 78 ++month) { 82 cal->set(1999, month, 4);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
HebrewHoliday.java | 30 public HebrewHoliday(int month, int date, String name) 32 this(month, date, 1, name); 39 public HebrewHoliday(int month, int date, int length, String name) 41 super(name, new SimpleDateRule(month, date, gCalendar));
|
TaiwanCalendar.java | 149 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field. 155 public TaiwanCalendar(int year, int month, int date) { 156 super(year, month, date); 165 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field. 173 public TaiwanCalendar(int year, int month, int date, int hour, 176 super(year, month, date, hour, minute, second) [all...] |
VTimeZone.java | 85 public int getOffset(int era, int year, int month, int day, int dayOfWeek, 87 return tz.getOffset(era, year, month, day, dayOfWeek, milliseconds); 451 // Month length in regular year 878 int month = ruleFields[0]; local 888 if (ruleFields.length != 10 || month == -1 || dayOfWeek == 0) { 893 int firstDay = 31; // max possible number of dates in a month 900 days[i] = days[i] > 0 ? days[i] : MONTHLENGTH[month] + days[i] + 1; 1742 int month = -1, dom = 0, dow = 0, dtype = -1; local 1955 int year = 0, month = 0, day = 0, hour = 0, min = 0, sec = 0; local [all...] |
SimpleTimeZone.java | 23 * <code>SimpleTimeZone</code> should count from the end of the month backwards. For 24 * example, if Daylight Savings Time starts or ends at the last Sunday in a month, use 83 * By default, this constructor specifies day-of-week-in-month rules. That 89 * Day of month. To specify an exact day of the month, such as March 1, set 92 * Day of week after day of month. To specify the first day of the week 93 * occurring on or after an exact day of the month, make the day of the week 98 * Day of week before day of month. To specify the last day of the week 99 * occurring on or before an exact day of the month, make the day of the 100 * week and the day of the month negative. For example, if startDay is -2 [all...] |
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.members/ |
plus_minus_equal_year.pass.cpp | 39 using month = std::chrono::month; 50 static_assert(testConstexpr<year_month_day_last, years>(year_month_day_last{year{1}, month_day_last{month{1}}}), ""); 54 month_day_last mdl{month{2}};
|
/external/pdfium/core/fxcrt/ |
cfx_datetime.h | 28 uint8_t month, 35 month_(month), 57 void SetDate(int32_t year, uint8_t month, uint8_t day) { 59 month_ = month;
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/ |
DatePickerDialogTask.java | 36 public DatePickerDialogTask(int year, int month, int day) { 38 mMonth = month - 1; 47 public void onDateSet(DatePicker view, int year, int month, int day) { 52 result.put("month", month + 1); 67 result.put("month", mMonth + 1); 82 result.put("month", mMonth + 1);
|
/external/u-boot/arch/arm/include/asm/ |
davinci_rtc.h | 21 unsigned int month; /* 0x10 */ member in struct:davinci_rtc
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
XMPDateTime.java | 22 * <li> month - The month in the range 1..12. 23 * <li> day - The day of the month in the range 1..31. 33 * fields (year, month, and day). 43 /** @return Returns The month in the range 1..12. */ 46 /** @param month Sets the month 1..12 */ 47 void setMonth(int month); 49 /** @return Returns the day of the month in the range 1..31. */
|
/external/icu/icu4c/source/i18n/ |
persncal.h | 42 * months are 30 days long. The last month is 29 days long in normal years, 61 * Constant for Farvardin, the 1st month of the Persian year. 67 * Constant for Ordibehesht, the 2nd month of the Persian year. 73 * Constant for Khordad, the 3rd month of the Persian year. 79 * Constant for Tir, the 4th month of the Persian year. 85 * Constant for Mordad, the 5th month of the Persian year. 91 * Constant for Shahrivar, the 6th month of the Persian year. 97 * Constant for Mehr, the 7th month of the Persian year. 103 * Constant for Aban, the 8th month of the Persian year. 109 * Constant for Azar, the 9th month of the Persian year. [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
dtrule.h | 26 * a rule specified by month, day of month, day of week and 39 DOM = 0, /**< The exact day of month, 45 DOW_LEQ_DOM /**< The last occurence of the day of week on or before the day of month, 60 * Constructs a <code>DateTimeRule</code> by the day of month and 64 * @param month The rule month, for example, <code>Calendar::JANUARY</code> 65 * @param dayOfMonth The day of month, 1-based. 71 DateTimeRule(int32_t month, int32_t dayOfMonth, 79 * @param month The rule month, for example, <code>Calendar::JANUARY</code> [all...] |
/external/libcxx/test/std/utilities/time/time.cal/time.cal.ymwdlast/time.cal.ymwdlast.members/ |
op_sys_days.pass.cpp | 16 // of year()/month(). Otherwise the returned value is unspecified. 29 using month = std::chrono::month; 39 constexpr month January = std::chrono::January;
|
/external/python/cpython3/Lib/ |
calendar.py | 15 "monthcalendar", "prmonth", "month", "prcal", "calendar", 25 def __init__(self, month): 26 self.month = month 28 return "bad month number %r; must be 1-12" % self.month 42 # Number of days per month (except for February in leap years) 45 # This module used to have hard-coded lists of day and month names, as 113 def weekday(year, month, day): 114 """Return weekday (0-6 ~ Mon-Sun) for year, month (1-12), day (1-31)."" 630 month = c.formatmonth variable [all...] |
/external/python/cpython2/Demo/tkinter/ttk/ |
ttkcalendar.py | 27 locale, firstweekday, year, month, selectbackground, 33 month = kw.pop('month', self.datetime.now().month) 38 self._date = self.datetime(year, month, 1) 61 if item in ('year', 'month'): 71 if item in ('year', 'month'): 134 year, month = self._date.year, self._date.month 136 # update header text (Month, YEAR [all...] |
/external/curl/lib/ |
parsedate.c | 294 int month, year, leap_days; local 297 month = tm->tm_mon; 298 if(month < 0) { 299 year += (11 - month) / 12; 300 month = 11 - (11 - month) % 12; 302 else if(month >= 12) { 303 year -= month / 12; 304 month = month % 12 [all...] |
/external/protobuf/src/google/protobuf/stubs/ |
time_test.cc | 43 int64 CreateTimestamp(int year, int month, int day) { 46 time.month = month; 54 GOOGLE_CHECK(time.month == month); 63 EXPECT_EQ(1, time.month); 74 EXPECT_EQ(12, time.month); 84 start.month = 1; 90 end.month = 12; 108 // Check that month boundaries are handled correctly [all...] |