Home
last modified time | relevance | path

Searched refs:yday (Results 1 – 19 of 19) sorted by relevance

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DIndianCalendar.java361 int leapMonth, IndianYear, yday, IndianMonth, IndianDayOfMonth, mday; in handleComputeFields() local
367yday = (int)(julianDay - jdAtStartOfGregYear); // Day number in Gregorian year (start… in handleComputeFields()
369 if (yday < INDIAN_YEAR_START) { in handleComputeFields()
373 yday += leapMonth + (31 * 5) + (30 * 3) + 10; in handleComputeFields()
376 yday -= INDIAN_YEAR_START; in handleComputeFields()
379 if (yday < leapMonth) { in handleComputeFields()
381 IndianDayOfMonth = yday + 1; in handleComputeFields()
383 mday = yday - leapMonth; in handleComputeFields()
399 internalSet(DAY_OF_YEAR, yday + 1); // yday is 0-based in handleComputeFields()
/third_party/icu/icu4c/source/i18n/
Dindiancal.cpp259 int32_t leapMonth, IndianYear, yday, IndianMonth, IndianDayOfMonth, mday; in handleComputeFields() local
266yday = (int32_t)(julianDay - jdAtStartOfGregYear); // Day number in Gregorian year (startin… in handleComputeFields()
268 if (yday < INDIAN_YEAR_START) { in handleComputeFields()
272 yday += leapMonth + (31 * 5) + (30 * 3) + 10; in handleComputeFields()
275 yday -= INDIAN_YEAR_START; in handleComputeFields()
278 if (yday < leapMonth) { in handleComputeFields()
280 IndianDayOfMonth = yday + 1; in handleComputeFields()
282 mday = yday - leapMonth; in handleComputeFields()
298 internalSet(UCAL_DAY_OF_YEAR, yday + 1); // yday is 0-based in handleComputeFields()
/third_party/skia/third_party/externals/icu/source/i18n/
Dindiancal.cpp259 int32_t leapMonth, IndianYear, yday, IndianMonth, IndianDayOfMonth, mday; in handleComputeFields() local
266yday = (int32_t)(julianDay - jdAtStartOfGregYear); // Day number in Gregorian year (startin… in handleComputeFields()
268 if (yday < INDIAN_YEAR_START) { in handleComputeFields()
272 yday += leapMonth + (31 * 5) + (30 * 3) + 10; in handleComputeFields()
275 yday -= INDIAN_YEAR_START; in handleComputeFields()
278 if (yday < leapMonth) { in handleComputeFields()
280 IndianDayOfMonth = yday + 1; in handleComputeFields()
282 mday = yday - leapMonth; in handleComputeFields()
298 internalSet(UCAL_DAY_OF_YEAR, yday + 1); // yday is 0-based in handleComputeFields()
/third_party/node/deps/icu-small/source/i18n/
Dindiancal.cpp259 int32_t leapMonth, IndianYear, yday, IndianMonth, IndianDayOfMonth, mday; in handleComputeFields() local
266yday = (int32_t)(julianDay - jdAtStartOfGregYear); // Day number in Gregorian year (startin… in handleComputeFields()
268 if (yday < INDIAN_YEAR_START) { in handleComputeFields()
272 yday += leapMonth + (31 * 5) + (30 * 3) + 10; in handleComputeFields()
275 yday -= INDIAN_YEAR_START; in handleComputeFields()
278 if (yday < leapMonth) { in handleComputeFields()
280 IndianDayOfMonth = yday + 1; in handleComputeFields()
282 mday = yday - leapMonth; in handleComputeFields()
299 internalSet(UCAL_DAY_OF_YEAR, yday + 1); // yday is 0-based in handleComputeFields()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DIndianCalendar.java334 int leapMonth, IndianYear, yday, IndianMonth, IndianDayOfMonth, mday; in handleComputeFields() local
340yday = (int)(julianDay - jdAtStartOfGregYear); // Day number in Gregorian year (start… in handleComputeFields()
342 if (yday < INDIAN_YEAR_START) { in handleComputeFields()
346 yday += leapMonth + (31 * 5) + (30 * 3) + 10; in handleComputeFields()
349 yday -= INDIAN_YEAR_START; in handleComputeFields()
352 if (yday < leapMonth) { in handleComputeFields()
354 IndianDayOfMonth = yday + 1; in handleComputeFields()
356 mday = yday - leapMonth; in handleComputeFields()
372 internalSet(DAY_OF_YEAR, yday + 1); // yday is 0-based in handleComputeFields()
/third_party/musl/src/time/
D__secs_to_tm.c17 int wday, yday, leap; in __secs_to_tm() local
55 yday = remdays + 31 + 28 + leap; in __secs_to_tm()
56 if (yday >= 365+leap) yday -= 365+leap; in __secs_to_tm()
75 tm->tm_yday = yday; in __secs_to_tm()
/third_party/musl/porting/uniproton/kernel/src/time/
D__secs_to_tm.c17 int wday, yday, leap; in __secs_to_tm() local
55 yday = remdays + 31 + 28 + leap; in __secs_to_tm()
56 if (yday >= 365+leap) yday -= 365+leap; in __secs_to_tm()
75 tm->tm_yday = yday; in __secs_to_tm()
/third_party/musl/porting/liteos_a/kernel/src/time/
D__secs_to_tm.c17 int wday, yday, leap; in __secs_to_tm() local
55 yday = remdays + 31 + 28 + leap; in __secs_to_tm()
56 if (yday >= 365+leap) yday -= 365+leap; in __secs_to_tm()
75 tm->tm_yday = yday; in __secs_to_tm()
/third_party/musl/porting/liteos_m/kernel/src/time/
D__secs_to_tm.c17 int wday, yday, leap; in __secs_to_tm() local
55 yday = remdays + 31 + 28 + leap; in __secs_to_tm()
56 if (yday >= 365+leap) yday -= 365+leap; in __secs_to_tm()
75 tm->tm_yday = yday; in __secs_to_tm()
/third_party/tzdata/
Dstrftime.c395 int yday; in _fmt() local
401 yday = t->tm_yday; in _fmt()
415 bot = ((yday + 11 - wday) % in _fmt()
426 if (yday >= top) { in _fmt()
431 if (yday >= bot) { in _fmt()
432 w = 1 + ((yday - bot) / in _fmt()
437 yday += isleap_sum(year, base) ? in _fmt()
Dzdump.c807 int yday = a->tm_yday; in adjusted_yday() local
809 yday += 365 + isleap_sum(b->tm_year, TM_YEAR_BASE); in adjusted_yday()
810 return yday; in adjusted_yday()
/third_party/curl/tests/
Dserverhelp.pm79 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
85 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
Drunner.pm465 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
Druntests.pl2432 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
/third_party/icu/icu4c/source/common/
Drbbicst.pl232 my ($sec, $min, $hour, , $day, $mon, $year, $wday, $yday, $isdst) = localtime;
/third_party/node/deps/icu-small/source/common/
Drbbicst.pl232 my ($sec, $min, $hour, , $day, $mon, $year, $wday, $yday, $isdst) = localtime;
/third_party/skia/third_party/externals/icu/source/common/
Drbbicst.pl232 my ($sec, $min, $hour, , $day, $mon, $year, $wday, $yday, $isdst) = localtime;
/third_party/python/Lib/
D_strptime.py526 yday = 366 if calendar.isleap(year) else 365
527 julian += yday
/third_party/python/Doc/library/
Ddatetime.rst648 time.struct_time((d.year, d.month, d.day, 0, 0, 0, d.weekday(), yday, -1))
650 where ``yday = d.toordinal() - date(d.year, 1, 1).toordinal() + 1``
1317 d.weekday(), yday, dst))
1319 where ``yday = d.toordinal() - date(d.year, 1, 1).toordinal() + 1``