Home
last modified time | relevance | path

Searched refs:month (Results 1 – 25 of 1799) sorted by relevance

12345678910>>...72

/third_party/typescript/tests/baselines/reference/
DexternModule.types21 constructor(year: number, month: number);
23 >month : number
25 constructor(year: number, month: number, date: number);
27 >month : number
30 constructor(year: number, month: number, date: number, hours: number);
32 >month : number
36 constructor(year: number, month: number, date: number, hours: number, minutes: number);
38 >month : number
43 …constructor(year: number, month: number, date: number, hours: number, minutes: number, seconds: nu…
45 >month : number
[all …]
DexternModule.symbols18 constructor(year: number, month: number);
20 >month : Symbol(month, Decl(externModule.ts, 10, 30))
22 constructor(year: number, month: number, date: number);
24 >month : Symbol(month, Decl(externModule.ts, 11, 30))
27 constructor(year: number, month: number, date: number, hours: number);
29 >month : Symbol(month, Decl(externModule.ts, 12, 30))
33 constructor(year: number, month: number, date: number, hours: number, minutes: number);
35 >month : Symbol(month, Decl(externModule.ts, 13, 30))
40 …constructor(year: number, month: number, date: number, hours: number, minutes: number, seconds: nu…
42 >month : Symbol(month, Decl(externModule.ts, 14, 30))
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DHebrewCalendar.java343 public HebrewCalendar(int year, int month, int date) { in HebrewCalendar() argument
346 this.set(MONTH, month); in HebrewCalendar()
380 public HebrewCalendar(int year, int month, int date, int hour, in HebrewCalendar() argument
385 this.set(MONTH, month); in HebrewCalendar()
435 int month = get(MONTH); in add() local
439 acrossAdar1 = (month < ADAR_1); // started before ADAR_1? in add()
440 month += amount; in add()
442 if (acrossAdar1 && month>=ADAR_1 && !isLeapYear(year)) { in add()
443 ++month; in add()
445 if (month <= ELUL) { in add()
[all …]
DIndianCalendar.java234 public IndianCalendar(int year, int month, int date) { in IndianCalendar() argument
237 this.set(Calendar.MONTH, month); in IndianCalendar()
260 public IndianCalendar(int year, int month, int date, int hour, in IndianCalendar() argument
265 this.set(Calendar.MONTH, month); in IndianCalendar()
311 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument
312 if (month < 0 || month > 11) { in handleGetMonthLength()
314 extendedYear += floorDivide(month, 12, remainder); in handleGetMonthLength()
315 month = remainder[0]; in handleGetMonthLength()
318 if(isGregorianLeap(extendedYear + INDIAN_ERA_START) && month == 0) { in handleGetMonthLength()
322 if(month >= 1 && month <=5) { in handleGetMonthLength()
[all …]
DPersianCalendar.java225 public PersianCalendar(int year, int month, int date) in PersianCalendar() argument
229 this.set(Calendar.MONTH, month); in PersianCalendar()
253 public PersianCalendar(int year, int month, int date, int hour, in PersianCalendar() argument
258 this.set(Calendar.MONTH, month); in PersianCalendar()
334 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument
337 if (month < 0 || month > 11) { in handleGetMonthLength()
339 extendedYear += floorDivide(month, 12, rem); in handleGetMonthLength()
340 month = rem[0]; in handleGetMonthLength()
343 return MONTH_COUNT[month][isLeapYear(extendedYear)?1:0]; in handleGetMonthLength()
368 protected int handleComputeMonthStart(int eyear, int month, boolean useMonth) { in handleComputeMonthStart() argument
[all …]
DIslamicCalendar.java265 public IslamicCalendar(int year, int month, int date) in IslamicCalendar() argument
269 this.set(Calendar.MONTH, month); in IslamicCalendar()
289 public IslamicCalendar(int year, int month, int date, int hour, in IslamicCalendar() argument
294 this.set(Calendar.MONTH, month); in IslamicCalendar()
590 private long monthStart(int year, int month) { in monthStart() argument
593 int realYear = year + month / 12; in monthStart()
594 int realMonth = month % 12; in monthStart()
605 for(int i=0; i< month; i++) { in monthStart()
621 private static final long trueMonthStart(long month) in trueMonthStart() argument
623 long start = cache.get(month); in trueMonthStart()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DHebrewCalendar.java363 public HebrewCalendar(int year, int month, int date) { in HebrewCalendar() argument
366 this.set(MONTH, month); in HebrewCalendar()
402 public HebrewCalendar(int year, int month, int date, int hour, in HebrewCalendar() argument
407 this.set(MONTH, month); in HebrewCalendar()
459 int month = get(MONTH); in add() local
463 acrossAdar1 = (month < ADAR_1); // started before ADAR_1? in add()
464 month += amount; in add()
466 if (acrossAdar1 && month>=ADAR_1 && !isLeapYear(year)) { in add()
467 ++month; in add()
469 if (month <= ELUL) { in add()
[all …]
DIndianCalendar.java256 public IndianCalendar(int year, int month, int date) { in IndianCalendar() argument
259 this.set(Calendar.MONTH, month); in IndianCalendar()
283 public IndianCalendar(int year, int month, int date, int hour, in IndianCalendar() argument
288 this.set(Calendar.MONTH, month); in IndianCalendar()
337 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument
338 if (month < 0 || month > 11) { in handleGetMonthLength()
340 extendedYear += floorDivide(month, 12, remainder); in handleGetMonthLength()
341 month = remainder[0]; in handleGetMonthLength()
344 if(isGregorianLeapYear(extendedYear + INDIAN_ERA_START) && month == 0) { in handleGetMonthLength()
348 if(month >= 1 && month <=5) { in handleGetMonthLength()
[all …]
DPersianCalendar.java223 public PersianCalendar(int year, int month, int date) in PersianCalendar() argument
227 this.set(Calendar.MONTH, month); in PersianCalendar()
251 public PersianCalendar(int year, int month, int date, int hour, in PersianCalendar() argument
256 this.set(Calendar.MONTH, month); in PersianCalendar()
332 protected int handleGetMonthLength(int extendedYear, int month) { in handleGetMonthLength() argument
335 if (month < 0 || month > 11) { in handleGetMonthLength()
337 extendedYear += floorDivide(month, 12, rem); in handleGetMonthLength()
338 month = rem[0]; in handleGetMonthLength()
341 return MONTH_COUNT[month][isLeapYear(extendedYear)?1:0]; in handleGetMonthLength()
366 protected int handleComputeMonthStart(int eyear, int month, boolean useMonth) { in handleComputeMonthStart() argument
[all …]
/third_party/skia/third_party/externals/microhttpd/doc/
Dmdate-sh114 month=
116 until test $month
123 Jan) month=January; nummonth=1;;
124 Feb) month=February; nummonth=2;;
125 Mar) month=March; nummonth=3;;
126 Apr) month=April; nummonth=4;;
127 May) month=May; nummonth=5;;
128 Jun) month=June; nummonth=6;;
129 Jul) month=July; nummonth=7;;
130 Aug) month=August; nummonth=8;;
[all …]
/third_party/libffi/doc/
Dmdate-sh118 month=
120 until test $month
127 Jan) month=January; nummonth=1;;
128 Feb) month=February; nummonth=2;;
129 Mar) month=March; nummonth=3;;
130 Apr) month=April; nummonth=4;;
131 May) month=May; nummonth=5;;
132 Jun) month=June; nummonth=6;;
133 Jul) month=July; nummonth=7;;
134 Aug) month=August; nummonth=8;;
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dhebrwcal.cpp227 int32_t month = get(UCAL_MONTH, status); in add() local
231 acrossAdar1 = (month < ADAR_1); // started before ADAR_1? in add()
232 month += amount; in add()
234 if (acrossAdar1 && month>=ADAR_1 && !isLeapYear(year)) { in add()
235 ++month; in add()
237 if (month <= ELUL) { in add()
240 month -= ELUL+1; in add()
245 acrossAdar1 = (month > ADAR_1); // started after ADAR_1? in add()
246 month += amount; in add()
248 if (acrossAdar1 && month<=ADAR_1 && !isLeapYear(year)) { in add()
[all …]
Dislamcal.cpp393 int32_t IslamicCalendar::monthStart(int32_t year, int32_t month) const { in monthStart()
396 return (int32_t)uprv_ceil(29.5*month) in monthStart()
399 return trueMonthStart(12*(year-1) + month); in monthStart()
402 for(int i=0; i< month; i++){ in monthStart()
417 int32_t IslamicCalendar::trueMonthStart(int32_t month) const in trueMonthStart()
420 int32_t start = CalendarCache::get(&gMonthCache, month, status); in trueMonthStart()
425 + uprv_floor(month * CalendarAstronomer::SYNODIC_MONTH) * kOneDay; in trueMonthStart()
454 CalendarCache::put(&gMonthCache, month, start, status); in trueMonthStart()
509 int32_t IslamicCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { in handleGetMonthLength()
515 length = 29 + (month+1) % 2; in handleGetMonthLength()
[all …]
Dindiancal.cpp112 int32_t IndianCalendar::handleGetMonthLength(int32_t eyear, int32_t month) const { in handleGetMonthLength()
113 if (month < 0 || month > 11) { in handleGetMonthLength()
114 eyear += ClockMath::floorDivide(month, 12, month); in handleGetMonthLength()
117 if (isGregorianLeap(eyear + INDIAN_ERA_START) && month == 0) { in handleGetMonthLength()
121 if (month >= 1 && month <= 5) { in handleGetMonthLength()
143 static double gregorianToJD(int32_t year, int32_t month, int32_t date) { in gregorianToJD() argument
149 uprv_floor((((367 * month) - 362) / 12) + in gregorianToJD()
150 ((month <= 2) ? 0 : in gregorianToJD()
164 int32_t year, month, day; in jdToGregorian() local
183 month = (int32_t)uprv_floor((((yearday + leapadj) * 12) + 373) / 367); in jdToGregorian()
[all …]
Dpersncal.cpp132 int32_t PersianCalendar::monthStart(int32_t year, int32_t month) const { in monthStart()
133 return handleComputeMonthStart(year,month,TRUE); in monthStart()
146 int32_t PersianCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { in handleGetMonthLength()
149 if (month < 0 || month > 11) { in handleGetMonthLength()
150 extendedYear += ClockMath::floorDivide(month, 12, month); in handleGetMonthLength()
153 return isLeapYear(extendedYear) ? kPersianLeapMonthLength[month] : kPersianMonthLength[month]; in handleGetMonthLength()
168 int32_t PersianCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /*useMonth*/) … in handleComputeMonthStart() argument
171 if (month < 0 || month > 11) { in handleComputeMonthStart()
172 eyear += ClockMath::floorDivide(month, 12, month); in handleComputeMonthStart()
177 if (month != 0) { in handleComputeMonthStart()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dhebrwcal.cpp227 int32_t month = get(UCAL_MONTH, status); in add() local
231 acrossAdar1 = (month < ADAR_1); // started before ADAR_1? in add()
232 month += amount; in add()
234 if (acrossAdar1 && month>=ADAR_1 && !isLeapYear(year)) { in add()
235 ++month; in add()
237 if (month <= ELUL) { in add()
240 month -= ELUL+1; in add()
245 acrossAdar1 = (month > ADAR_1); // started after ADAR_1? in add()
246 month += amount; in add()
248 if (acrossAdar1 && month<=ADAR_1 && !isLeapYear(year)) { in add()
[all …]
Dislamcal.cpp390 int32_t IslamicCalendar::monthStart(int32_t year, int32_t month) const { in monthStart()
393 return (int32_t)uprv_ceil(29.5*month) in monthStart()
396 return trueMonthStart(12*(year-1) + month); in monthStart()
399 for(int i=0; i< month; i++){ in monthStart()
414 int32_t IslamicCalendar::trueMonthStart(int32_t month) const in trueMonthStart()
417 int32_t start = CalendarCache::get(&gMonthCache, month, status); in trueMonthStart()
422 + uprv_floor(month * CalendarAstronomer::SYNODIC_MONTH) * kOneDay; in trueMonthStart()
452 CalendarCache::put(&gMonthCache, month, start, status); in trueMonthStart()
508 int32_t IslamicCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { in handleGetMonthLength()
514 length = 29 + (month+1) % 2; in handleGetMonthLength()
[all …]
Dpersncal.cpp132 int32_t PersianCalendar::monthStart(int32_t year, int32_t month) const { in monthStart()
133 return handleComputeMonthStart(year,month,TRUE); in monthStart()
146 int32_t PersianCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { in handleGetMonthLength()
149 if (month < 0 || month > 11) { in handleGetMonthLength()
150 extendedYear += ClockMath::floorDivide(month, 12, month); in handleGetMonthLength()
153 return isLeapYear(extendedYear) ? kPersianLeapMonthLength[month] : kPersianMonthLength[month]; in handleGetMonthLength()
168 int32_t PersianCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /*useMonth*/) … in handleComputeMonthStart() argument
171 if (month < 0 || month > 11) { in handleComputeMonthStart()
172 eyear += ClockMath::floorDivide(month, 12, month); in handleComputeMonthStart()
177 if (month != 0) { in handleComputeMonthStart()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dhebrwcal.cpp227 int32_t month = get(UCAL_MONTH, status); in add() local
231 acrossAdar1 = (month < ADAR_1); // started before ADAR_1? in add()
232 month += amount; in add()
234 if (acrossAdar1 && month>=ADAR_1 && !isLeapYear(year)) { in add()
235 ++month; in add()
237 if (month <= ELUL) { in add()
240 month -= ELUL+1; in add()
245 acrossAdar1 = (month > ADAR_1); // started after ADAR_1? in add()
246 month += amount; in add()
248 if (acrossAdar1 && month<=ADAR_1 && !isLeapYear(year)) { in add()
[all …]
Dislamcal.cpp390 int32_t IslamicCalendar::monthStart(int32_t year, int32_t month) const { in monthStart()
393 return (int32_t)uprv_ceil(29.5*month) in monthStart()
396 return trueMonthStart(12*(year-1) + month); in monthStart()
399 for(int i=0; i< month; i++){ in monthStart()
414 int32_t IslamicCalendar::trueMonthStart(int32_t month) const in trueMonthStart()
417 int32_t start = CalendarCache::get(&gMonthCache, month, status); in trueMonthStart()
422 + uprv_floor(month * CalendarAstronomer::SYNODIC_MONTH) * kOneDay; in trueMonthStart()
452 CalendarCache::put(&gMonthCache, month, start, status); in trueMonthStart()
508 int32_t IslamicCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { in handleGetMonthLength()
514 length = 29 + (month+1) % 2; in handleGetMonthLength()
[all …]
Dpersncal.cpp132 int32_t PersianCalendar::monthStart(int32_t year, int32_t month) const { in monthStart()
133 return handleComputeMonthStart(year,month,TRUE); in monthStart()
146 int32_t PersianCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { in handleGetMonthLength()
149 if (month < 0 || month > 11) { in handleGetMonthLength()
150 extendedYear += ClockMath::floorDivide(month, 12, month); in handleGetMonthLength()
153 return isLeapYear(extendedYear) ? kPersianLeapMonthLength[month] : kPersianMonthLength[month]; in handleGetMonthLength()
168 int32_t PersianCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /*useMonth*/) … in handleComputeMonthStart() argument
171 if (month < 0 || month > 11) { in handleComputeMonthStart()
172 eyear += ClockMath::floorDivide(month, 12, month); in handleComputeMonthStart()
177 if (month != 0) { in handleComputeMonthStart()
[all …]
/third_party/icu/icu4c/source/i18n/
Dhebrwcal.cpp227 int32_t month = get(UCAL_MONTH, status); in add() local
231 acrossAdar1 = (month < ADAR_1); // started before ADAR_1? in add()
232 month += amount; in add()
234 if (acrossAdar1 && month>=ADAR_1 && !isLeapYear(year)) { in add()
235 ++month; in add()
237 if (month <= ELUL) { in add()
240 month -= ELUL+1; in add()
245 acrossAdar1 = (month > ADAR_1); // started after ADAR_1? in add()
246 month += amount; in add()
248 if (acrossAdar1 && month<=ADAR_1 && !isLeapYear(year)) { in add()
[all …]
Dislamcal.cpp390 int32_t IslamicCalendar::monthStart(int32_t year, int32_t month) const { in monthStart()
393 return (int32_t)uprv_ceil(29.5*month) in monthStart()
396 return trueMonthStart(12*(year-1) + month); in monthStart()
399 for(int i=0; i< month; i++){ in monthStart()
414 int32_t IslamicCalendar::trueMonthStart(int32_t month) const in trueMonthStart()
417 int32_t start = CalendarCache::get(&gMonthCache, month, status); in trueMonthStart()
422 + uprv_floor(month * CalendarAstronomer::SYNODIC_MONTH) * kOneDay; in trueMonthStart()
452 CalendarCache::put(&gMonthCache, month, start, status); in trueMonthStart()
508 int32_t IslamicCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { in handleGetMonthLength()
514 length = 29 + (month+1) % 2; in handleGetMonthLength()
[all …]
Dpersncal.cpp132 int32_t PersianCalendar::monthStart(int32_t year, int32_t month) const { in monthStart()
133 return handleComputeMonthStart(year,month,TRUE); in monthStart()
146 int32_t PersianCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const { in handleGetMonthLength()
149 if (month < 0 || month > 11) { in handleGetMonthLength()
150 extendedYear += ClockMath::floorDivide(month, 12, month); in handleGetMonthLength()
153 return isLeapYear(extendedYear) ? kPersianLeapMonthLength[month] : kPersianMonthLength[month]; in handleGetMonthLength()
168 int32_t PersianCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /*useMonth*/) … in handleComputeMonthStart() argument
171 if (month < 0 || month > 11) { in handleComputeMonthStart()
172 eyear += ClockMath::floorDivide(month, 12, month); in handleComputeMonthStart()
177 if (month != 0) { in handleComputeMonthStart()
[all …]
/third_party/icu/icu4c/source/test/testdata/
Dcalendar.txt28 // "0/1/1912/june/4 == gregorian year=1912, ERA=AD, same month, same day
45 // [before minguo]2 1[month] 24[day] -> 1910-1-24
220 "MONTH=3", // month + 3
227 "MONTH=1", // month + 1
234 "MONTH=-1", // month - 1
237 { // month=3 is a leap month
241 "MONTH=3", // month + 3
244 { // month=3 is a leap month
248 "MONTH=2", // month + 2
251 { // month=3 is a leap month
[all …]

12345678910>>...72