Home
last modified time | relevance | path

Searched refs:yearday (Results 1 – 9 of 9) sorted by relevance

/external/python/dateutil/docs/
Drelativedelta.rst177 Obtain today's date using the yearday:
181 >>> date(2003, 1, 1)+relativedelta(yearday=260)
184 We can use today's date, since yearday should be absolute
189 >>> TODAY+relativedelta(yearday=260)
196 >>> date(2002, 1, 1)+relativedelta(yearday=260)
203 >>> date(2000, 1, 1)+relativedelta(yearday=260)
Dexamples.rst175 Obtain today's date using the yearday:
179 >>> date(2003, 1, 1)+relativedelta(yearday=260)
182 We can use today's date, since yearday should be absolute
187 >>> TODAY+relativedelta(yearday=260)
194 >>> date(2002, 1, 1)+relativedelta(yearday=260)
201 >>> date(2000, 1, 1)+relativedelta(yearday=260)
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DIndianCalendar.java527 double wjd, depoch, quadricent, dqc, cent, dcent, quad, dquad, yindex, yearday, leapadj; in jdToGregorian() local
545 yearday = wjd - gregorianToJD(year, 1, 1); in jdToGregorian()
551 month = (int)Math.floor((((yearday + leapadj) * 12) + 373) / 367); in jdToGregorian()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DIndianCalendar.java498 double wjd, depoch, quadricent, dqc, cent, dcent, quad, dquad, yindex, yearday, leapadj; in jdToGregorian() local
516 yearday = wjd - gregorianToJD(year, 1, 1); in jdToGregorian()
522 month = (int)Math.floor((((yearday + leapadj) * 12) + 373) / 367); in jdToGregorian()
/external/icu/icu4c/source/i18n/
Dindiancal.cpp163 double wjd, depoch, quadricent, dqc, cent, dcent, quad, dquad, yindex, yearday, leapadj; in jdToGregorian() local
178 yearday = wjd - gregorianToJD(year, 1, 1); in jdToGregorian()
183 month = (int32_t)uprv_floor((((yearday + leapadj) * 12) + 373) / 367); in jdToGregorian()
/external/python/dateutil/dateutil/test/
Dtest_relativedelta.py153 self.assertEqual(date(2003, 1, 1)+relativedelta(yearday=260),
155 self.assertEqual(date(2002, 1, 1)+relativedelta(yearday=260),
157 self.assertEqual(date(2000, 1, 1)+relativedelta(yearday=260),
159 self.assertEqual(self.today+relativedelta(yearday=261),
164 self.assertEqual(date(2010, 1, 1)+relativedelta(yearday=15),
174 self.assertEqual(self.today+relativedelta(yearday=261),
546 relativedelta(yearday=367)
/external/python/dateutil/dateutil/
Drelativedelta.py95 yearday=None, nlyearday=None, argument
197 elif yearday:
198 yday = yearday
199 if yearday > 59:
Drrule.py767 year, month, day, hour, minute, second, weekday, yearday, _ = \
/external/python/dateutil/
DNEWS517 affected the yearday parameter in the month of January specifically.