Home
last modified time | relevance | path

Searched refs:yearday (Results 1 – 17 of 17) 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/python/dateutil/dateutil/test/
Dtest_relativedelta.py161 self.assertEqual(date(2003, 1, 1)+relativedelta(yearday=260),
163 self.assertEqual(date(2002, 1, 1)+relativedelta(yearday=260),
165 self.assertEqual(date(2000, 1, 1)+relativedelta(yearday=260),
167 self.assertEqual(self.today+relativedelta(yearday=261),
172 self.assertEqual(date(2010, 1, 1)+relativedelta(yearday=15),
182 self.assertEqual(self.today+relativedelta(yearday=261),
564 relativedelta(yearday=367)
/external/python/dateutil/dateutil/
Drelativedelta.py109 yearday=None, nlyearday=None, argument
211 elif yearday:
212 yday = yearday
213 if yearday > 59:
Drrule.py776 year, month, day, hour, minute, second, weekday, yearday, _ = \
/external/libtextclassifier/abseil-cpp/absl/time/
Dtime.cc78 bd.yearday = 365; in InfiniteFutureBreakdown()
95 bd.yearday = 1; in InfinitePastBreakdown()
223 bd.yearday = cctz::get_yearday(cd); in In()
Dtime.h650 int yearday; // day of year [1:366] member
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/
Dtime.cc78 bd.yearday = 365; in InfiniteFutureBreakdown()
95 bd.yearday = 1; in InfinitePastBreakdown()
223 bd.yearday = cctz::get_yearday(cd); in In()
Dtime.h650 int yearday; // day of year [1:366] member
/external/openscreen/third_party/abseil/src/absl/time/
Dtime.cc79 bd.yearday = 365; in InfiniteFutureBreakdown()
96 bd.yearday = 1; in InfinitePastBreakdown()
224 bd.yearday = cctz::get_yearday(cd); in In()
Dtime.h650 int yearday; // day of year [1:366] member
/external/abseil-cpp/absl/time/
Dtime.cc78 bd.yearday = 365; in InfiniteFutureBreakdown()
95 bd.yearday = 1; in InfinitePastBreakdown()
223 bd.yearday = cctz::get_yearday(cd); in In()
Dtime.h650 int yearday; // day of year [1:366] member
/external/webrtc/third_party/abseil-cpp/absl/time/
Dtime.cc78 bd.yearday = 365; in InfiniteFutureBreakdown()
95 bd.yearday = 1; in InfinitePastBreakdown()
223 bd.yearday = cctz::get_yearday(cd); in In()
Dtime.h650 int yearday; // day of year [1:366] member
/external/python/cpython3/Modules/
D_zoneinfo.c2176 int yearday = DAYS_BEFORE_MONTH[m]; in ymd_to_ord() local
2178 yearday += 1; in ymd_to_ord()
2181 return days_before_year + yearday + d; in ymd_to_ord()
/external/python/dateutil/
DNEWS707 affected the yearday parameter in the month of January specifically.