HomeSort by relevance Sort by last modified time
    Searched refs:month (Results 26 - 50 of 1124) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/icu/android_icu4j/src/main/java/android/icu/util/
DateTimeRule.java 16 * a rule specified by month, day of month, day of week and
26 * Date rule type defined by exact day of month.
32 * Date rule type defined by day of week in month.
39 * after exact day of month.
46 * before exact day of month.
68 private final int month; field in class:DateTimeRule
77 * Constructs a <code>DateTimeRule</code> by the day of month and
81 * @param month The rule month, for example, <code>Calendar.JANUARY</code
    [all...]
SimpleHoliday.java 19 * A holiday whose date can be represented by a month, day, and optionally day of week
29 * @param month The month in which this holiday occurs (0-based)
30 * @param dayOfMonth The date within the month (1-based).
40 public SimpleHoliday(int month, int dayOfMonth, String name)
42 super(name, new SimpleDateRule(month, dayOfMonth));
48 * @param month The month in which this holiday occurs (0-based)
49 * @param dayOfMonth The date within the month (1-based).
59 public SimpleHoliday(int month, int dayOfMonth, String name
    [all...]
BuddhistCalendar.java 138 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field.
143 public BuddhistCalendar(int year, int month, int date) {
144 super(year, month, date);
153 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field.
164 public BuddhistCalendar(int year, int month, int date, int hour,
167 super(year, month, date, hour, minute, second)
    [all...]
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...]
  /external/icu/icu4c/source/i18n/
indiancal.cpp 63 { 0, 0, 11, 11}, // MONTH
107 * Return the length (in days) of the given month.
110 * @param month The month(0-based) in Indian calendar
112 int32_t IndianCalendar::handleGetMonthLength(int32_t eyear, int32_t month) const {
113 if (month < 0 || month > 11) {
114 eyear += ClockMath::floorDivide(month, 12, month);
117 if (isGregorianLeap(eyear + INDIAN_ERA_START) && month == 0)
164 int32_t year, month, day; local
    [all...]
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...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DateTimeRule.java 15 * a rule specified by month, day of month, day of week and
25 * Date rule type defined by exact day of month.
33 * Date rule type defined by day of week in month.
42 * after exact day of month.
51 * before exact day of month.
81 private final int month; field in class:DateTimeRule
90 * Constructs a <code>DateTimeRule</code> by the day of month and
94 * @param month The rule month, for example, <code>Calendar.JANUARY</code
    [all...]
SimpleHoliday.java 18 * A holiday whose date can be represented by a month, day, and optionally day of week
28 * @param month The month in which this holiday occurs (0-based)
29 * @param dayOfMonth The date within the month (1-based).
40 public SimpleHoliday(int month, int dayOfMonth, String name)
42 super(name, new SimpleDateRule(month, dayOfMonth));
48 * @param month The month in which this holiday occurs (0-based)
49 * @param dayOfMonth The date within the month (1-based).
60 public SimpleHoliday(int month, int dayOfMonth, String name
    [all...]
BuddhistCalendar.java 146 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field.
152 public BuddhistCalendar(int year, int month, int date) {
153 super(year, month, date);
162 * @param month The value used to set the calendar's {@link #MONTH MONTH} time field.
174 public BuddhistCalendar(int year, int month, int date, int hour,
177 super(year, month, date, hour, minute, second)
    [all...]
  /external/icu/icu4c/source/test/compat/
tzone.pl 10 print "Usage: tzone [year month day hour minute]\n";
21 my $month = 0;
28 ($year, $month, $day, $hour, $minute) = @ARGV;
29 print "The date we are using is: $month-$day-$year $hour:$minute.\n";
54 my @result = `./tzdate $year $month $day $hour $minute $USECURRENT`;
  /packages/apps/Calendar/tests/src/com/android/calendar/alerts/
Utils.java 23 int month, int year, String timezone) {
25 t.set(second, minute, hour, monthDay, month, year);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/
Dates.py 3 # Date(month,day,year) returns a Date object. An instance prints as,
20 # .month in 1..12
73 def _days_in_month(month, year): # number of days in month of year
74 if month == 2 and _is_leap(year): return 29
75 return _DAYS_IN_MONTH[month-1]
77 def _days_before_month(month, year): # number of days in year before month
78 return _DAYS_BEFORE_MONTH[month-1] + (month > 2 and _is_leap(year))
    [all...]
  /external/python/cpython2/Demo/classes/
Dates.py 3 # Date(month,day,year) returns a Date object. An instance prints as,
20 # .month in 1..12
73 def _days_in_month(month, year): # number of days in month of year
74 if month == 2 and _is_leap(year): return 29
75 return _DAYS_IN_MONTH[month-1]
77 def _days_before_month(month, year): # number of days in year before month
78 return _DAYS_BEFORE_MONTH[month-1] + (month > 2 and _is_leap(year)
    [all...]
  /libcore/ojluni/src/main/java/sun/util/calendar/
JulianCalendar.java 148 public long getFixedDate(int jyear, int month, int dayOfMonth, BaseCalendar.Date cache) {
149 boolean isJan1 = month == JANUARY && dayOfMonth == 1;
156 return cache.getCachedJan1() + getDayOfYear(jyear, month, dayOfMonth) - 1;
168 if (month > 0) {
169 days += ((367 * (long) month) - 362) / 12;
171 days += CalendarUtils.floorDivide((367 * (long) month) - 362, 12);
173 if (month > FEBRUARY) {
199 int month = 12 * priorDays + 373; local
200 if (month > 0) {
201 month /= 367
    [all...]
  /external/icu/icu4c/source/i18n/unicode/
simpletz.h 54 * count from the end of the month backwards. For example, if Daylight Savings
55 * Time starts or ends at the last Sunday a month, use <code>dayOfWeekInMonth = -1</code>
142 * @param savingsStartMonth The daylight savings starting month. Month is
145 * day-of-week-in-month. See setStartRule() for a
151 * @param savingsEndMonth The daylight savings ending month. Month is
153 * @param savingsEndDayOfWeekInMonth The daylight savings ending day-of-week-in-month.
183 * @param savingsStartMonth The daylight savings starting month. Month i
    [all...]
  /external/protobuf/src/google/protobuf/stubs/
time.cc 62 int64 SecondsPerMonth(int month, bool leap) {
63 if (month == 2 && leap) {
64 return kSecondsPerDay * (kDaysInMonth[month] + 1);
66 return kSecondsPerDay * kDaysInMonth[month];
75 time.month < 1 || time.month > 12 ||
82 if (time.month == 2 && IsLeapYear(time.year)) {
83 return time.month <= kDaysInMonth[time.month] + 1;
85 return time.month <= kDaysInMonth[time.month]
115 int month = time.month; local
236 int month = 1; local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
SimpleDate.java 26 * Represents a date (year, month, day)
30 public int month; // MM field in class:SimpleDate
50 this.month = sCalendarInstance.get(Calendar.MONTH);
63 result = prime * result + month;
83 if (month != other.month) {
98 int monthDiff = this.month - other.getMonth();
112 return month;
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
Grego.java 70 * Return the number of days in the given month.
72 * @param month 0-based month, with 0==Jan
73 * @return the number of days in the given month
75 public static final int monthLength(int year, int month) {
76 return MONTH_LENGTH[month + (isLeapYear(year) ? 12 : 0)];
80 * Return the length of a previous month of the Gregorian calendar.
82 * @param month 0-based month, with 0==Jan
83 * @return the number of days in the month previous to the given mont
147 int month = (12 * (dayOfYear + correction) + 6) \/ 367; \/\/ zero-based month local
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
Grego.java 68 * Return the number of days in the given month.
70 * @param month 0-based month, with 0==Jan
71 * @return the number of days in the given month
73 public static final int monthLength(int year, int month) {
74 return MONTH_LENGTH[month + (isLeapYear(year) ? 12 : 0)];
78 * Return the length of a previous month of the Gregorian calendar.
80 * @param month 0-based month, with 0==Jan
81 * @return the number of days in the month previous to the given mont
145 int month = (12 * (dayOfYear + correction) + 6) \/ 367; \/\/ zero-based month local
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/parser/
HeaderParser.java 90 String month = lexer.ttoken().toLowerCase(); local
91 if (month.equals("jan")) {
92 retval.set(Calendar.MONTH, Calendar.JANUARY);
93 } else if (month.equals("feb")) {
94 retval.set(Calendar.MONTH, Calendar.FEBRUARY);
95 } else if (month.equals("mar")) {
96 retval.set(Calendar.MONTH, Calendar.MARCH);
97 } else if (month.equals("apr")) {
98 retval.set(Calendar.MONTH, Calendar.APRIL);
99 } else if (month.equals("may"))
    [all...]
  /libcore/ojluni/src/main/java/java/sql/
Date.java 45 * year, month, and day.
51 * @param month 0 to 11
56 public Date(int year, int month, int day) {
57 super(year, month, day);
133 int month = Integer.parseInt(mm); local
136 if ((month >= 1 && month <= MAX_MONTH) && (day >= 1 && day <= MAX_DAY)) {
137 d = new Date(year - 1900, month - 1, day);
157 int month = super.getMonth() + 1; local
165 buf[5] = Character.forDigit(month/10,10)
    [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/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...]
  /libcore/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) {
  /libcore/ojluni/src/main/java/java/time/
YearMonth.java 104 * A year-month in the ISO-8601 calendar system, such as {@code 2007-12}.
107 * of a year and month. Any field that can be derived from a year and month, such as
146 * The month-of-year, not null.
148 private final int month; field in class:YearMonth
152 * Obtains the current year-month from the system clock in the default time-zone.
155 * time-zone to obtain the current year-month.
160 * @return the current year-month using the system clock and default time-zone, not null
167 * Obtains the current year-month from the system clock in the specified time-zone.
169 * This will query the {@link Clock#system(ZoneId) system clock} to obtain the current year-month
    [all...]

Completed in 792 milliseconds

12 3 4 5 6 7 8 91011>>