Home
last modified time | relevance | path

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

/external/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()
/external/icu/android_icu4j/src/main/java/android/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()
/external/icu/icu4c/source/i18n/
Dindiancal.cpp294 int32_t leapMonth, IndianYear, yday, IndianMonth, IndianDayOfMonth, mday; in handleComputeFields() local
301yday = (int32_t)(julianDay - jdAtStartOfGregYear); // Day number in Gregorian year (startin… in handleComputeFields()
303 if (yday < INDIAN_YEAR_START) { in handleComputeFields()
307 yday += leapMonth + (31 * 5) + (30 * 3) + 10; in handleComputeFields()
310 yday -= INDIAN_YEAR_START; in handleComputeFields()
313 if (yday < leapMonth) { in handleComputeFields()
315 IndianDayOfMonth = yday + 1; in handleComputeFields()
317 mday = yday - leapMonth; in handleComputeFields()
333 internalSet(UCAL_DAY_OF_YEAR, yday + 1); // yday is 0-based in handleComputeFields()
/external/python/dateutil/dateutil/
Drelativedelta.py194 yday = 0
196 yday = nlyearday
198 yday = yearday
201 if yday:
205 if yday <= ydays:
208 self.day = yday
210 self.day = yday-ydayidx[idx-1]
213 raise ValueError("invalid year day (%d)" % yday)
/external/python/cpython2/Lib/
D_strptime.py450 yday = 366 if calendar.isleap(year) else 365
451 julian += yday
/external/icu/icu4c/source/common/
Drbbicst.pl232 my ($sec, $min, $hour, , $day, $mon, $year, $wday, $yday, $isdst) = localtime;
/external/python/cpython3/Lib/
D_strptime.py535 yday = 366 if calendar.isleap(year) else 365
536 julian += yday
/external/python/dateutil/dateutil/tz/
Dtz.py1056 elif x.yday is not None:
1057 kwargs["yearday"] = x.yday
/external/curl/tests/
Dftpserver.pl205 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
211 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
Druntests.pl604 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
/external/python/cpython2/Doc/library/
Ddatetime.rst487 d.weekday(), yday, -1))``, where ``yday = d.toordinal() - date(d.year, 1,
968 d.hour, d.minute, d.second, d.weekday(), yday, dst))``, where ``yday =
/external/python/dateutil/dateutil/parser/
D_parser.py1481 x.yday = int(l[i]) + 1
/external/python/cpython3/Doc/library/
Ddatetime.rst556 d.weekday(), yday, -1))``, where ``yday = d.toordinal() - date(d.year, 1,
1131 d.hour, d.minute, d.second, d.weekday(), yday, dst))``, where ``yday =
/external/v8/tools/profviz/
Dgnuplot-4.6.3-emscripten.js3217 var yday = Math.floor((date.getTime() - start.getTime()) / (1000 * 60 * 60 * 24));
3218 HEAP32[(((tmPtr)+(offsets.tm_yday))>>2)]=yday
3244 var yday = Math.round((timestamp - (new Date(year, 0, 1)).getTime()) / (1000 * 60 * 60 * 24));
3245 HEAP32[(((tmPtr)+(offsets.tm_yday))>>2)]=yday
3468 var yday = Math.round((date.getTime() - start.getTime()) / (1000 * 60 * 60 * 24));
3469 HEAP32[(((tmPtr)+(offsets.tm_yday))>>2)]=yday