Home
last modified time | relevance | path

Searched refs:dayOfMonth (Results 1 – 25 of 54) sorted by relevance

123

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DSimpleHoliday.java40 public SimpleHoliday(int month, int dayOfMonth, String name) in SimpleHoliday() argument
42 super(name, new SimpleDateRule(month, dayOfMonth)); in SimpleHoliday()
60 public SimpleHoliday(int month, int dayOfMonth, String name, in SimpleHoliday() argument
63 super(name, rangeRule(startYear, 0, new SimpleDateRule(month, dayOfMonth))); in SimpleHoliday()
81 public SimpleHoliday(int month, int dayOfMonth, String name, in SimpleHoliday() argument
84 super(name, rangeRule(startYear, endYear, new SimpleDateRule(month, dayOfMonth))); in SimpleHoliday()
112 public SimpleHoliday(int month, int dayOfMonth, int dayOfWeek, String name) in SimpleHoliday() argument
114 super(name, new SimpleDateRule(month, dayOfMonth, in SimpleHoliday()
123 public SimpleHoliday(int month, int dayOfMonth, int dayOfWeek, String name, in SimpleHoliday() argument
127 new SimpleDateRule(month, dayOfMonth, in SimpleHoliday()
[all …]
DDateTimeRule.java82 private final int dayOfMonth; field in DateTimeRule
102 public DateTimeRule(int month, int dayOfMonth, in DateTimeRule() argument
106 this.dayOfMonth = dayOfMonth; in DateTimeRule()
143 this.dayOfMonth = 0; in DateTimeRule()
162 public DateTimeRule(int month, int dayOfMonth, int dayOfWeek, boolean after, in DateTimeRule() argument
166 this.dayOfMonth = dayOfMonth; in DateTimeRule()
207 return dayOfMonth; in getRuleDayOfMonth()
275 sDate = Integer.toString(dayOfMonth); in toString()
281 sDate = DOWSTR[dayOfWeek] + ">=" + Integer.toString(dayOfMonth); in toString()
284 sDate = DOWSTR[dayOfWeek] + "<=" + Integer.toString(dayOfMonth); in toString()
DSimpleDateRule.java32 public SimpleDateRule(int month, int dayOfMonth) in SimpleDateRule() argument
35 this.dayOfMonth = dayOfMonth; in SimpleDateRule()
40 /* package */SimpleDateRule(int month, int dayOfMonth, Calendar cal) in SimpleDateRule() argument
43 this.dayOfMonth = dayOfMonth; in SimpleDateRule()
60 public SimpleDateRule(int month, int dayOfMonth, int dayOfWeek, boolean after) in SimpleDateRule() argument
63 this.dayOfMonth = dayOfMonth; in SimpleDateRule()
186 c.set(Calendar.DATE, dayOfMonth); in computeInYear()
227 private int dayOfMonth; field in SimpleDateRule
DSimpleTimeZone.java391 public void setStartRule(int month, int dayOfMonth, int time) { in setStartRule() argument
396 getSTZInfo().setStart(month, -1, -1, time, dayOfMonth, false); in setStartRule()
397 setStartRule(month, dayOfMonth, 0, time, WALL_TIME); in setStartRule()
417 public void setStartRule(int month, int dayOfMonth, int dayOfWeek, int time, boolean after) { in setStartRule() argument
422 getSTZInfo().setStart(month, -1, dayOfWeek, time, dayOfMonth, after); in setStartRule()
423 setStartRule(month, after ? dayOfMonth : -dayOfMonth, in setStartRule()
468 public void setEndRule(int month, int dayOfMonth, int time) { in setEndRule() argument
473 getSTZInfo().setEnd(month, -1, -1, time, dayOfMonth, false); in setEndRule()
474 setEndRule(month, dayOfMonth, WALL_TIME, time); in setEndRule()
494 public void setEndRule(int month, int dayOfMonth, int dayOfWeek, int time, boolean after) { in setEndRule() argument
[all …]
DVTimeZone.java881 int dayOfMonth = ruleFields[3]; in createRuleByRRULE() local
918 dayOfMonth = firstDay; in createRuleByRRULE()
923 if (month == -1 || dayOfWeek == 0 || dayOfMonth == 0) { in createRuleByRRULE()
1009 dayOfMonth = earliestDay; in createRuleByRRULE()
1019 if (dayOfWeek == 0 && nthDayOfWeek == 0 && dayOfMonth == 0) { in createRuleByRRULE()
1021 dayOfMonth = dfields[2]; in createRuleByRRULE()
1033 if (dayOfWeek == 0 && nthDayOfWeek == 0 && dayOfMonth != 0) { in createRuleByRRULE()
1035 adtr = new DateTimeRule(month, dayOfMonth, timeInDay, DateTimeRule.WALL_TIME); in createRuleByRRULE()
1036 } else if (dayOfWeek != 0 && nthDayOfWeek != 0 && dayOfMonth == 0) { in createRuleByRRULE()
1039 } else if (dayOfWeek != 0 && nthDayOfWeek == 0 && dayOfMonth != 0) { in createRuleByRRULE()
[all …]
DPersianCalendar.java420 int year, month, dayOfMonth, dayOfYear; in handleComputeFields() local
432 dayOfMonth = dayOfYear - MONTH_COUNT[month][2] + 1; in handleComputeFields()
439 internalSet(DAY_OF_MONTH, dayOfMonth); in handleComputeFields()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DSimpleHoliday.java40 public SimpleHoliday(int month, int dayOfMonth, String name) in SimpleHoliday() argument
42 super(name, new SimpleDateRule(month, dayOfMonth)); in SimpleHoliday()
59 public SimpleHoliday(int month, int dayOfMonth, String name, in SimpleHoliday() argument
62 super(name, rangeRule(startYear, 0, new SimpleDateRule(month, dayOfMonth))); in SimpleHoliday()
79 public SimpleHoliday(int month, int dayOfMonth, String name, in SimpleHoliday() argument
82 super(name, rangeRule(startYear, endYear, new SimpleDateRule(month, dayOfMonth))); in SimpleHoliday()
109 public SimpleHoliday(int month, int dayOfMonth, int dayOfWeek, String name) in SimpleHoliday() argument
111 super(name, new SimpleDateRule(month, dayOfMonth, in SimpleHoliday()
119 public SimpleHoliday(int month, int dayOfMonth, int dayOfWeek, String name, in SimpleHoliday() argument
123 new SimpleDateRule(month, dayOfMonth, in SimpleHoliday()
[all …]
DDateTimeRule.java69 private final int dayOfMonth; field in DateTimeRule
87 public DateTimeRule(int month, int dayOfMonth, in DateTimeRule() argument
91 this.dayOfMonth = dayOfMonth; in DateTimeRule()
126 this.dayOfMonth = 0; in DateTimeRule()
143 public DateTimeRule(int month, int dayOfMonth, int dayOfWeek, boolean after, in DateTimeRule() argument
147 this.dayOfMonth = dayOfMonth; in DateTimeRule()
182 return dayOfMonth; in getRuleDayOfMonth()
240 sDate = Integer.toString(dayOfMonth); in toString()
246 sDate = DOWSTR[dayOfWeek] + ">=" + Integer.toString(dayOfMonth); in toString()
249 sDate = DOWSTR[dayOfWeek] + "<=" + Integer.toString(dayOfMonth); in toString()
DSimpleDateRule.java32 public SimpleDateRule(int month, int dayOfMonth) in SimpleDateRule() argument
35 this.dayOfMonth = dayOfMonth; in SimpleDateRule()
40 /* package */SimpleDateRule(int month, int dayOfMonth, Calendar cal) in SimpleDateRule() argument
43 this.dayOfMonth = dayOfMonth; in SimpleDateRule()
59 public SimpleDateRule(int month, int dayOfMonth, int dayOfWeek, boolean after) in SimpleDateRule() argument
62 this.dayOfMonth = dayOfMonth; in SimpleDateRule()
181 c.set(Calendar.DATE, dayOfMonth); in computeInYear()
221 private int dayOfMonth; field in SimpleDateRule
DSimpleTimeZone.java378 public void setStartRule(int month, int dayOfMonth, int time) { in setStartRule() argument
383 getSTZInfo().setStart(month, -1, -1, time, dayOfMonth, false); in setStartRule()
384 setStartRule(month, dayOfMonth, 0, time, WALL_TIME); in setStartRule()
403 public void setStartRule(int month, int dayOfMonth, int dayOfWeek, int time, boolean after) { in setStartRule() argument
408 getSTZInfo().setStart(month, -1, dayOfWeek, time, dayOfMonth, after); in setStartRule()
409 setStartRule(month, after ? dayOfMonth : -dayOfMonth, in setStartRule()
452 public void setEndRule(int month, int dayOfMonth, int time) { in setEndRule() argument
457 getSTZInfo().setEnd(month, -1, -1, time, dayOfMonth, false); in setEndRule()
458 setEndRule(month, dayOfMonth, WALL_TIME, time); in setEndRule()
477 public void setEndRule(int month, int dayOfMonth, int dayOfWeek, int time, boolean after) { in setEndRule() argument
[all …]
DVTimeZone.java850 int dayOfMonth = ruleFields[3]; in createRuleByRRULE() local
887 dayOfMonth = firstDay; in createRuleByRRULE()
892 if (month == -1 || dayOfWeek == 0 || dayOfMonth == 0) { in createRuleByRRULE()
978 dayOfMonth = earliestDay; in createRuleByRRULE()
988 if (dayOfWeek == 0 && nthDayOfWeek == 0 && dayOfMonth == 0) { in createRuleByRRULE()
990 dayOfMonth = dfields[2]; in createRuleByRRULE()
1002 if (dayOfWeek == 0 && nthDayOfWeek == 0 && dayOfMonth != 0) { in createRuleByRRULE()
1004 adtr = new DateTimeRule(month, dayOfMonth, timeInDay, DateTimeRule.WALL_TIME); in createRuleByRRULE()
1005 } else if (dayOfWeek != 0 && nthDayOfWeek != 0 && dayOfMonth == 0) { in createRuleByRRULE()
1008 } else if (dayOfWeek != 0 && nthDayOfWeek == 0 && dayOfMonth != 0) { in createRuleByRRULE()
[all …]
DPersianCalendar.java423 int year, month, dayOfMonth, dayOfYear; in handleComputeFields() local
435 dayOfMonth = dayOfYear - MONTH_COUNT[month][2] + 1; in handleComputeFields()
442 internalSet(DAY_OF_MONTH, dayOfMonth); in handleComputeFields()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDatePickerDialog.java22 private int dayOfMonth; field in ShadowDatePickerDialog
32 int dayOfMonth) { in __constructor__() argument
35 this.dayOfMonth = dayOfMonth; in __constructor__()
44 ClassParameter.from(int.class, dayOfMonth)); in __constructor__()
55 int dayOfMonth) { in __constructor__() argument
59 this.dayOfMonth = dayOfMonth; in __constructor__()
69 ClassParameter.from(int.class, dayOfMonth)); in __constructor__()
85 return dayOfMonth; in getDayOfMonth()
/external/icu/libicu/cts_headers/unicode/
Dsimpletz.h375 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t time,
390 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t time,
409 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
429 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
495 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t time, UErrorCode& status);
510 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t time,
529 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
550 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
839 int8_t dayOfMonth,
898 inline void SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth, in setStartRule() argument
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dsimpletz.h375 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t time,
390 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t time,
409 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
429 void setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
495 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t time, UErrorCode& status);
510 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t time,
529 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
550 void setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
839 int8_t dayOfMonth,
898 inline void SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth, in setStartRule() argument
[all …]
Ddtrule.h73 DateTimeRule(int32_t month, int32_t dayOfMonth,
109 DateTimeRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, UBool after,
/external/icu/icu4c/source/i18n/
Dsimpletz.cpp325 SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth, in setStartRule() argument
328 setStartRule(month, dayOfMonth, 0, time, mode, status); in setStartRule()
334 SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, in setStartRule() argument
337 setStartRule(month, after ? dayOfMonth : -dayOfMonth, in setStartRule()
377 SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfMonth, in setEndRule() argument
380 setEndRule(month, dayOfMonth, 0, time, mode, status); in setEndRule()
386 SimpleTimeZone::setEndRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, in setEndRule() argument
389 setEndRule(month, after ? dayOfMonth : -dayOfMonth, in setEndRule()
573 int8_t dayOfMonth, in compareToRule() argument
582 ++dayOfMonth; in compareToRule()
[all …]
Ddtrule.cpp23 int32_t dayOfMonth, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
26 : fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(0), fWeekInMonth(0), fMillisInDay(millisInDay), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
40 int32_t dayOfMonth, in DateTimeRule() argument
46 …fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(dayOfWeek), fWeekInMonth(0), fMillisInDay(milli… in DateTimeRule()
Dvtzone.cpp541 int32_t month, dayOfWeek, nthDayOfWeek, dayOfMonth = 0; in createRuleByRRULE() local
587 dayOfMonth = firstDay; in createRuleByRRULE()
680 dayOfMonth = earliestDay; in createRuleByRRULE()
691 if (dayOfWeek == 0 && nthDayOfWeek == 0 && dayOfMonth == 0) { in createRuleByRRULE()
693 dayOfMonth = startDOM; in createRuleByRRULE()
705 if (dayOfWeek == 0 && nthDayOfWeek == 0 && dayOfMonth != 0) { in createRuleByRRULE()
707 adtr = new DateTimeRule(month, dayOfMonth, startMID, DateTimeRule::WALL_TIME); in createRuleByRRULE()
708 } else if (dayOfWeek != 0 && nthDayOfWeek != 0 && dayOfMonth == 0) { in createRuleByRRULE()
711 } else if (dayOfWeek != 0 && nthDayOfWeek == 0 && dayOfMonth != 0) { in createRuleByRRULE()
714 … adtr = new DateTimeRule(month, dayOfMonth, dayOfWeek, TRUE, startMID, DateTimeRule::WALL_TIME); in createRuleByRRULE()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DGrego.java146 int dayOfMonth = dayOfYear - DAYS_BEFORE[isLeap ? month + 12 : month] + 1; // one-based DOM in dayToFields() local
155 fields[2] = dayOfMonth; in dayToFields()
205 public static int getDayOfWeekInMonth(int year, int month, int dayOfMonth) { in getDayOfWeekInMonth() argument
206 int weekInMonth = (dayOfMonth + 6)/7; in getDayOfWeekInMonth()
208 if (dayOfMonth + 7 > monthLength(year, month)) { in getDayOfWeekInMonth()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DGrego.java148 int dayOfMonth = dayOfYear - DAYS_BEFORE[isLeap ? month + 12 : month] + 1; // one-based DOM in dayToFields() local
157 fields[2] = dayOfMonth; in dayToFields()
207 public static int getDayOfWeekInMonth(int year, int month, int dayOfMonth) { in getDayOfWeekInMonth() argument
208 int weekInMonth = (dayOfMonth + 6)/7; in getDayOfWeekInMonth()
210 if (dayOfMonth + 7 > monthLength(year, month)) { in getDayOfWeekInMonth()
/external/llvm-project/clang/test/Rewriter/
Drewrite-anonymous-union.m9 uint32_t dayOfMonth;
27 [NSNumber numberWithLong:(_pts.dayOfMonth >= 31 ? -1 : _pts.dayOfMonth)];
/external/clang/test/Rewriter/
Drewrite-anonymous-union.m9 uint32_t dayOfMonth;
27 [NSNumber numberWithLong:(_pts.dayOfMonth >= 31 ? -1 : _pts.dayOfMonth)];
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DChineseTestCase.java34 boolean isLeapMonth, int dayOfMonth, int dayOfWeek) { in ChineseTestCase() argument
42 set(Calendar.DAY_OF_MONTH, dayOfMonth); in ChineseTestCase()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DChineseTestCase.java37 boolean isLeapMonth, int dayOfMonth, int dayOfWeek) { in ChineseTestCase() argument
45 set(Calendar.DAY_OF_MONTH, dayOfMonth); in ChineseTestCase()

123