/libcore/luni/src/main/java/java/util/ |
SimpleTimeZone.java | 31 * {@code SimpleTimeZone} should count from the end of the month 102 * By default, this constructor specifies day-of-week-in-month rules. That 108 * Day of month: To specify an exact day of the month, such as March 1, set 111 * Day of week after day of month: To specify the first day of the week 112 * occurring on or after an exact day of the month, make the day of the week 117 * Day of week before day of month: To specify the last day of the week 118 * occurring on or before an exact day of the month, make the day of the 119 * week and the day of the month negative. For example, if {@code startDay} is {@code -21} 134 * the daylight savings starting month. The month indexing is 0-based. eg, [all...] |
GregorianCalendar.java | 85 * 1 to 4 or 5. Week 1 of a month (the days with <code>WEEK_OF_MONTH = 88 * contiguous days in that month, ending on the day before 90 * month may be shorter than 7 days, need not start on 92 * previous month. Days of a month before week 1 have a 133 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH)); 158 * System.out.println("MONTH: " + calendar.get(Calendar.MONTH)); 248 * @param month 390 int month = fields[MONTH] + value; local 506 int month = dayOfYear \/ 32; local 815 int month = fields[MONTH]; local 1211 int month = dayOfYear \/ 32; local [all...] |
Date.java | 60 * @param month 61 * the month, 0 - 11. 63 * the day of the month, 1 - 31. 69 public Date(int year, int month, int day) { 71 cal.set(1900 + year, month, day); 81 * @param month 82 * the month, 0 - 11. 84 * the day of the month, 1 - 31. 94 public Date(int year, int month, int day, int hour, int minute) { 96 cal.set(1900 + year, month, day, hour, minute) 379 int year = -1, month = -1, date = -1; local [all...] |
/external/icu4c/i18n/ |
indiancal.cpp | 62 { 0, 0, 11, 11}, // MONTH 106 * Return the length (in days) of the given month. 109 * @param month The month(0-based) in Indian calendar 111 int32_t IndianCalendar::handleGetMonthLength(int32_t eyear, int32_t month) const { 112 if (month < 0 || month > 11) { 113 eyear += ClockMath::floorDivide(month, 12, month); 116 if (isGregorianLeap(eyear + INDIAN_ERA_START) && month == 0) 163 int32_t year, month, day; local [all...] |
hebrwcal.cpp | 42 { 0, 0, 12, 12}, // MONTH 90 * The cumulative # of days to the end of each month in a non-leap year 114 * The cumulative # of days to the end of each month in a leap year 190 * need to be changed. For example, when adding one to the {@link #MONTH MONTH} field 201 * of a <tt>HebrewCalendar</tt>. Since the {@link #MONTH MONTH} field behaves 219 // We can't just do a set(MONTH, get(MONTH) + amount). The 224 int32_t month = get(UCAL_MONTH, status) local 316 int32_t month = get(UCAL_MONTH, status); local 575 int32_t month = 0; local [all...] |
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),
|
cecal.cpp | 22 { 0, 0, 12, 12}, // MONTH 110 CECalendar::ceToJD(int32_t year, int32_t month, int32_t date, int32_t jdEpochOffset) 112 // handle month > 12, < 0 (e.g. from add/set) 113 if ( month >= 0 ) { 114 year += month/13; 115 month %= 13; 117 ++month; 118 year += month/13 - 1; 119 month = month%13 + 12 [all...] |
chnsecal.cpp | 142 { 0, 0, 11, 11}, // MONTH 198 * extended year and month. 201 * whether or not the given month is a leap month. 204 int32_t ChineseCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { 205 int32_t thisStart = handleComputeMonthStart(extendedYear, month, TRUE) - 217 * <li>MONTH 275 * given month in the given extended year. 278 * whether the given month is a leap month 637 int32_t month = synodicMonthsBetween(firstMoon, thisMoon); local [all...] |
ethpccal.h | 42 * Constant for መስከረም, the 1st month of the Ethiopic year. 47 * Constant for ጥቅምት, the 2nd month of the Ethiopic year. 52 * Constant for ኅዳር, the 3rd month of the Ethiopic year. 57 * Constant for ታኅሣሥ, the 4th month of the Ethiopic year. 62 * Constant for ጥር, the 5th month of the Ethiopic year. 67 * Constant for የካቲት, the 6th month of the Ethiopic year. 72 * Constant for መጋቢት, the 7th month of the Ethiopic year. 77 * Constant for ሚያዝያ, the 8th month of the Ethiopic year. 82 * Constant for ግንቦት, the 9th month of the Ethiopic year. 87 * Constant for ሰኔ, the 10th month of the Ethiopic year. [all...] |
simpletz.cpp | 275 * day of week in the month (e.g., (2, WEDNESDAY) is the second Wednesday 276 * of the month). 278 * the day of week in the month counting backward from the end of the month. 279 * (e.g., (-1, MONDAY) is the last Monday in the month) 281 * specifies the day of the month, regardless of what day of the week it is. 282 * (e.g., (10, 0) is the tenth day of the month) 284 * specifies the day of the month counting backward from the end of the 285 * month, regardless of what day of the week it is (e.g., (-2, 0) is the 286 * next-to-last day of the month) 515 int32_t year, month, dom, dow; local [all...] |
/external/icu4c/test/compat/ |
tzone.pl | 8 print "Usage: tzone [year month day hour minute]\n"; 19 my $month = 0; 26 ($year, $month, $day, $hour, $minute) = @ARGV; 27 print "The date we are using is: $month-$day-$year $hour:$minute.\n"; 52 my @result = `./tzdate $year $month $day $hour $minute $USECURRENT`;
|
/external/webkit/Source/WebCore/manual-tests/ |
input-type-datetime-default-value.html | 3 <head><title>Default values for date/time input (type= date, datetime, datetime-local, month, time, week)</title></head> 14 <li>month: <input type="month" size="32" value="" /> 23 <li>month: <input type="month" size="32" value="foo" /> 32 <li>month: <input type="month" size="32" value="" step="foo" /> 41 <li>month: <input type="month" size="32" value="foo" step="foo" /> 50 <li>month: <input type="month" size="32" value="" step="any" / [all...] |
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePickerDialog.java | 49 private static final String MONTH = "month"; 70 * @param monthOfYear The month that was set (0-11) for compatibility 72 * @param dayOfMonth The day of the month that was set. 81 * @param monthOfYear The initial month of the dialog. 96 * @param monthOfYear The initial month of the dialog. 117 * @param monthOfYear The initial month of the dialog. 134 * @param monthOfYear The initial month of the dialog. 176 /* Sometimes the full month is displayed causing the title 194 int month, int day) 226 int month = savedInstanceState.getInt(MONTH); local [all...] |
/frameworks/base/media/libdrm/mobile1/include/parser/ |
parser_rel.h | 82 * Input year and month, return how many days that month have 84 * \param month (in)Input the month 86 * -A positive integer, which is how many days that month have 89 int32_t drm_monthDays(int32_t year, int32_t month); 94 * \param month month of the date 103 int32_t drm_checkDate(int32_t year, int32_t month, int32_t day, int32_t hour, int32_t min, int32_t sec);
|
/frameworks/base/core/java/android/app/ |
DatePickerDialog.java | 40 private static final String MONTH = "month"; 54 * @param monthOfYear The month that was set (0-11) for compatibility 56 * @param dayOfMonth The day of the month that was set. 65 * @param monthOfYear The initial month of the dialog. 81 * @param monthOfYear The initial month of the dialog. 116 int month, int day) { 117 mDatePicker.init(year, month, day, null); 133 * @param monthOfYear The date month. 134 * @param dayOfMonth The date day of month 153 int month = savedInstanceState.getInt(MONTH); local [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ |
jsref.js | 385 var month = MonthFromTime(t); 387 if ( month == 0 ) { 390 if ( month == 1 ) { 393 if ( month == 2 ) { 396 if ( month == 3 ) { 399 if ( month == 4 ) { 402 if ( month == 5 ) { 405 if ( month == 6 ) { 408 if ( month == 7 ) { 411 if ( month == 8 ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/ |
jsref.js | 345 var month = MonthFromTime(t); 347 if ( month == 0 ) { 350 if ( month == 1 ) { 353 if ( month == 2 ) { 356 if ( month == 3 ) { 359 if ( month == 4 ) { 362 if ( month == 5 ) { 365 if ( month == 6 ) { 368 if ( month == 7 ) { 371 if ( month == 8 ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Date/ |
shell.js | 375 var month = MonthFromTime(t); 377 if ( month == 0) {return ( day + 1 );} 378 if ( month == 1) {return ( day - 30 );} 379 if ( month == 2) {return ( day - 58 - InLeapYear(t) );} 380 if ( month == 3) {return ( day - 89 - InLeapYear(t));} 381 if ( month == 4) {return ( day - 119 - InLeapYear(t));} 382 if ( month == 5) {return ( day - 150 - InLeapYear(t));} 383 if ( month == 6) {return ( day - 180 - InLeapYear(t));} 384 if ( month == 7) {return ( day - 211 - InLeapYear(t));} 385 if ( month == 8) {return ( day - 242 - InLeapYear(t)); [all...] |
/packages/apps/Email/emailcommon/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/chromium/net/ftp/ |
ftp_directory_listing_parser_unittest.h | 25 int month; member in struct:net::FtpDirectoryListingParserTest::SingleLineTestData 55 EXPECT_EQ(test_case.month, time_exploded.month); 66 mock_current_time_exploded.month = 11;
|
ftp_util.h | 30 // Converts abbreviated month (like Nov) to its number (in range 1-12). 36 // columns. The first one contains month, the second one contains day 37 // of month. The third one is either a time (and then we guess the year based 39 static bool LsDateListingToTime(const string16& month,
|
/external/icu4c/samples/translit/answers/ |
main_2.cpp | 47 for (int32_t month = Calendar::JANUARY; 48 month <= Calendar::DECEMBER; 49 ++month) { 53 cal->set(1999, month, 4);
|
/frameworks/opt/calendar/src/com/android/calendarcommon/ |
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 890 int month = usebymonth local 1123 int month = date.month; local [all...] |
/external/chromium/chrome/browser/ui/webui/ |
history2_ui.cc | 180 int month = 0; local 182 ExtractSearchHistoryArguments(args, &month, &query); 184 // Set the query ranges for the given month. 185 history::QueryOptions options = CreateMonthQueryOptions(month); 305 int* month, 307 *month = 0; 318 // Get search month. 325 base::StringToInt(string16_value, month); 330 int month) { 334 // current month [all...] |
/external/webkit/Source/WebCore/html/ |
DateComponents.cpp | 67 // 'month' is 0-based. 68 static int maxDayOfMonth(int year, int month) 70 if (month != 1) // February? 71 return daysInMonth[month]; 75 // 'month' is 0-based. 76 static int dayOfWeek(int year, int month, int day) 78 int shiftedMonth = month + 2; 149 static bool withinHTMLDateLimits(int year, int month) 155 return month <= maximumMonthInMaximumYear; 158 static bool withinHTMLDateLimits(int year, int month, int monthDay 193 int month = m_month; local 212 int month = m_month; local 343 int month; local 598 int month = static_cast<int>(doubleMonth); local [all...] |