/external/icu/android_icu4j/src/main/java/android/icu/util/ |
TaiwanCalendar.java | 137 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field. 142 public TaiwanCalendar(int year, int month, int date) { 143 super(year, month, date); 152 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field. 159 public TaiwanCalendar(int year, int month, int date, int hour, 162 super(year, month, date, hour, minute, second) [all...] |
VTimeZone.java | 75 public int getOffset(int era, int year, int month, int day, int dayOfWeek, 77 return tz.getOffset(era, year, month, day, dayOfWeek, milliseconds); 414 // Month length in regular year 841 int month = ruleFields[0]; local 851 if (ruleFields.length != 10 || month == -1 || dayOfWeek == 0) { 856 int firstDay = 31; // max possible number of dates in a month 863 days[i] = days[i] > 0 ? days[i] : MONTHLENGTH[month] + days[i] + 1; 1705 int month = -1, dom = 0, dow = 0, dtype = -1; local 1918 int year = 0, month = 0, day = 0, hour = 0, min = 0, sec = 0; local [all...] |
SimpleTimeZone.java | 22 * <code>SimpleTimeZone</code> should count from the end of the month backwards. For 23 * example, if Daylight Savings Time starts or ends at the last Sunday in a month, use 78 * By default, this constructor specifies day-of-week-in-month rules. That 84 * Day of month. To specify an exact day of the month, such as March 1, set 87 * Day of week after day of month. To specify the first day of the week 88 * occurring on or after an exact day of the month, make the day of the week 93 * Day of week before day of month. To specify the last day of the week 94 * occurring on or before an exact day of the month, make the day of the 95 * 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 | 66 for (int32_t month = Calendar::JANUARY; 67 month <= Calendar::DECEMBER; 68 ++month) { 72 cal->set(1999, month, 4);
|
main_4.cpp | 70 for (int32_t month = Calendar::JANUARY; 71 month <= Calendar::DECEMBER; 72 ++month) { 76 cal->set(1999, month, 4);
|
/external/icu/icu4c/source/samples/translit/ |
main.cpp | 72 for (int32_t month = Calendar::JANUARY; 73 month <= Calendar::DECEMBER; 74 ++month) { 78 cal->set(1999, month, 4);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
HebrewHoliday.java | 28 public HebrewHoliday(int month, int date, String name) 30 this(month, date, 1, name); 37 public HebrewHoliday(int month, int date, int length, String name) 39 super(name, new SimpleDateRule(month, date, gCalendar));
|
TaiwanCalendar.java | 147 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field. 153 public TaiwanCalendar(int year, int month, int date) { 154 super(year, month, date); 163 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field. 171 public TaiwanCalendar(int year, int month, int date, int hour, 174 super(year, month, date, hour, minute, second) [all...] |
VTimeZone.java | 79 public int getOffset(int era, int year, int month, int day, int dayOfWeek, 81 return tz.getOffset(era, year, month, day, dayOfWeek, milliseconds); 445 // Month length in regular year 872 int month = ruleFields[0]; local 882 if (ruleFields.length != 10 || month == -1 || dayOfWeek == 0) { 887 int firstDay = 31; // max possible number of dates in a month 894 days[i] = days[i] > 0 ? days[i] : MONTHLENGTH[month] + days[i] + 1; 1736 int month = -1, dom = 0, dow = 0, dtype = -1; local 1949 int year = 0, month = 0, day = 0, hour = 0, min = 0, sec = 0; local [all...] |
SimpleTimeZone.java | 21 * <code>SimpleTimeZone</code> should count from the end of the month backwards. For 22 * example, if Daylight Savings Time starts or ends at the last Sunday in a month, use 81 * By default, this constructor specifies day-of-week-in-month rules. That 87 * Day of month. To specify an exact day of the month, such as March 1, set 90 * Day of week after day of month. To specify the first day of the week 91 * occurring on or after an exact day of the month, make the day of the week 96 * Day of week before day of month. To specify the last day of the week 97 * occurring on or before an exact day of the month, make the day of the 98 * week and the day of the month negative. For example, if startDay is -2 [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/ |
DatePickerDialogTask.java | 37 public DatePickerDialogTask(int year, int month, int day) { 39 mMonth = month - 1; 48 public void onDateSet(DatePicker view, int year, int month, int day) { 53 result.put("month", month + 1); 68 result.put("month", mMonth + 1); 83 result.put("month", mMonth + 1);
|
/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. */
|
/libcore/ojluni/src/main/java/java/util/ |
Date.java | 46 * functions. It allowed the interpretation of dates as year, month, day, hour, 95 * year, month, date, hours, minutes, and seconds values, the 100 * <li>A month is represented by an integer from 0 to 11; 0 is January, 102 * <li>A date (day of month) is represented by an integer from 1 to 31 182 * specified by the <code>year</code>, <code>month</code>, and 186 * @param month the month between 0-11. 187 * @param date the day of the month between 1-31. 190 * replaced by <code>Calendar.set(year + 1900, month, date)</code> 191 * or <code>GregorianCalendar(year + 1900, month, date)</code> [all...] |
/external/icu/icu4c/source/i18n/ |
persncal.h | 40 * months are 30 days long. The last month is 29 days long in normal years, 59 * Constant for Farvardin, the 1st month of the Persian year. 65 * Constant for Ordibehesht, the 2nd month of the Persian year. 71 * Constant for Khordad, the 3rd month of the Persian year. 77 * Constant for Tir, the 4th month of the Persian year. 83 * Constant for Mordad, the 5th month of the Persian year. 89 * Constant for Shahrivar, the 6th month of the Persian year. 95 * Constant for Mehr, the 7th month of the Persian year. 101 * Constant for Aban, the 8th month of the Persian year. 107 * Constant for Azar, the 9th month of the Persian year. [all...] |
japancal.cpp | 37 int8_t month; member in struct:__anon12781 40 // Year Month Day 329 int32_t month = 0; local 335 return kEraInfo[era].month-1; 338 return month; 341 int32_t JapaneseCalendar::getDefaultDayInMonth(int32_t eyear, int32_t month) 347 if(month == (kEraInfo[era].month-1)) { 389 // the binary search to handle the month/dom comparison. 412 diff,low, high, i, kEraInfo[i].month-1, kEraInfo[i].day, kEraInfo[i].year, internalGet(UCAL_MONTH), internalGet(UCAL_DATE),year) [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
dtrule.h | 24 * a rule specified by month, day of month, day of week and 37 DOM = 0, /**< The exact day of month, 43 DOW_LEQ_DOM /**< The last occurence of the day of week on or before the day of month, 58 * Constructs a <code>DateTimeRule</code> by the day of month and 62 * @param month The rule month, for example, <code>Calendar::JANUARY</code> 63 * @param dayOfMonth The day of month, 1-based. 69 DateTimeRule(int32_t month, int32_t dayOfMonth, 77 * @param month The rule month, for example, <code>Calendar::JANUARY</code> [all...] |
gregocal.h | 100 * cout << "MONTH: " << calendar->get( UCAL_MONTH, success ) << endl; 122 * cout << "MONTH: " << calendar->get( UCAL_MONTH, success ) << endl; 235 * @param month The value used to set the MONTH time field in the calendar. Month 242 GregorianCalendar(int32_t year, int32_t month, int32_t date, UErrorCode& success); 249 * @param month The value used to set the MONTH time field in the calendar. Month 258 GregorianCalendar(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, UErrorCode& success) [all...] |
/frameworks/av/media/mtp/ |
MtpUtils.cpp | 29 representation, YYYY shall be replaced by the year, MM replaced by the month (01-12), 37 int year, month, day, hour, minute, second; local 39 &year, &month, &day, &hour, &minute, &second) != 6) 63 tm.tm_mon = month - 1; // mktime uses months in 0 - 11 range
|
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
wt5001.cxx | 114 uint8_t month = 0, day = 0; local 115 if (mp3->getDate(&year, &month, &day)) 116 cout << "The device date is: " << int(month) << "/" << int(day)
|
/system/keymaster/ |
keymaster_configuration.cpp | 118 uint32_t month = match_to_uint32(patchlevel_str, matches[kMonthMatch]); local 120 if (month < 1 || month > 12) { 121 ALOGE("Invalid patch month %d", month); 124 return year * 100 + month;
|
/external/curl/lib/ |
parsedate.c | 293 int month, year, leap_days; local 301 month = tm->tm_mon; 302 if(month < 0) { 303 year += (11 - month) / 12; 304 month = 11 - (11 - month) % 12; 306 else if(month >= 12) { 307 year -= month / 12; 308 month = month % 12 [all...] |
/libcore/ojluni/src/main/java/java/sql/ |
Timestamp.java | 77 * @param month 0 to 11 87 public Timestamp(int year, int month, int date, 89 super(year, month, date, hour, minute, second); 176 int month = 0; local 226 month = Integer.parseInt(mm); 229 if ((month >= 1 && month <= MAX_MONTH) && (day >= 1 && day <= MAX_DAY)) { 263 return new Timestamp(year - 1900, month - 1, day, hour, minute, second, a_nanos); 277 int month = super.getMonth() + 1; local 301 if (month < 10) [all...] |
/external/pdfium/fpdfsdk/src/ |
fsdk_baseannot.cpp | 30 uint8_t _gAfxGetMonthDays(int16_t year, uint8_t month) { 32 switch (month) { 93 dt.month = newtime->tm_mon + 1; 112 dt.month = (uint8_t)st.wMonth; 134 (((int)dt1.dt.year) << 16) | (((int)dt1.dt.month) << 8) | (int)dt1.dt.day; 138 (((int)dt2.dt.year) << 16) | (((int)dt2.dt.month) << 8) | (int)dt2.dt.day; 153 (((int)dt1.dt.year) << 16) | (((int)dt1.dt.month) << 8) | (int)dt1.dt.day; 157 (((int)dt2.dt.year) << 16) | (((int)dt2.dt.month) << 8) | (int)dt2.dt.day; 172 (((int)dt1.dt.year) << 16) | (((int)dt1.dt.month) << 8) | (int)dt1.dt.day; 176 (((int)dt2.dt.year) << 16) | (((int)dt2.dt.month) << 8) | (int)dt2.dt.day [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
RecurrenceProcessor.java | 204 iterator.month + 1); 321 * Compute the day of the week for the first day of the month. "instance" has a 326 * (day of the month - 1) mod 7, and then make sure it's positive. We can simplify 341 * Generate a set according to the BYDAY rules. For each day of the month, determine 349 // For each month day, see if it's part of the set. (This makes some assumptions 433 int realMonth = iterator.month; 439 + " " + iterator.month 444 // if might be past the end of the month, we need to normalize it 449 realMonth = t.month; 452 Log.i(TAG, "normalized t=" + t + " " + t.month 892 int month = usebymonth local 1143 int month = date.month; local [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_calendar.py | 58 <tr><th colspan="3" class="year">2004</th></tr><tr><td><table border="0" cellpadding="0" cellspacing="0" class="month"> 59 <tr><th colspan="7" class="month">January</th></tr> 67 </td><td><table border="0" cellpadding="0" cellspacing="0" class="month"> 68 <tr><th colspan="7" class="month">February</th></tr> 76 </td><td><table border="0" cellpadding="0" cellspacing="0" class="month"> 77 <tr><th colspan="7" class="month">March</th></tr> 85 </td></tr><tr><td><table border="0" cellpadding="0" cellspacing="0" class="month"> 86 <tr><th colspan="7" class="month">April</th></tr> 94 </td><td><table border="0" cellpadding="0" cellspacing="0" class="month"> 95 <tr><th colspan="7" class="month">May</th></tr [all...] |