/external/python/dateutil/dateutil/test/ |
D | test_easter.py | 4 from datetime import date 9 date(1990, 4, 15), date(1991, 3, 31), date(1992, 4, 19), date(1993, 4, 11), 10 date(1994, 4, 3), date(1995, 4, 16), date(1996, 4, 7), date(1997, 3, 30), 11 date(1998, 4, 12), date(1999, 4, 4), 13 date(2000, 4, 23), date(2001, 4, 15), date(2002, 3, 31), date(2003, 4, 20), 14 date(2004, 4, 11), date(2005, 3, 27), date(2006, 4, 16), date(2007, 4, 8), 15 date(2008, 3, 23), date(2009, 4, 12), 17 date(2010, 4, 4), date(2011, 4, 24), date(2012, 4, 8), date(2013, 3, 31), 18 date(2014, 4, 20), date(2015, 4, 5), date(2016, 3, 27), date(2017, 4, 16), 19 date(2018, 4, 1), date(2019, 4, 21), [all …]
|
/external/apache-xml/test/tests/perf-gold/basic/ |
D | basic-datetranscode.out | 2 <date orginal="13 January 1974"> 6 </date> 7 <date orginal="14 January 1974"> 11 </date> 12 <date orginal="1 February 1974"> 16 </date> 17 <date orginal="2 March 1974"> 21 </date> 22 <date orginal="3 April 1974"> 26 </date> [all …]
|
/external/sdv/vsomeip/third_party/boost/date_time/test/gregorian/ |
D | testdate_iterator.cpp | 13 void test_month_decrement_iterator(const boost::gregorian::date *Answers, int array_len){ in test_month_decrement_iterator() 15 typedef boost::date_time::month_functor<date> mfg; in test_month_decrement_iterator() 17 boost::date_time::date_itr<mfg, date> ditr(Answers[array_len-1]); in test_month_decrement_iterator() 34 void test_base_iterator(boost::gregorian::date end, in test_base_iterator() 49 day_iterator di(date(2002,Jan,1)); in main() 51 test_base_iterator(date(2002,Jan,3),di,data); in main() 52 month_iterator di2(date(2002,Jan,3)); in main() 53 test_base_iterator(date(2002,Mar,1),di2,data); in main() 59 typedef boost::date_time::day_functor<date> dfg; in main() 62 const date DayAnswers[] = {date(2000,Jan,20),date(2000,Jan,22),date(2000,Jan,24)}; in main() [all …]
|
D | testdate.cpp | 20 boost::gregorian::date chkyr(yr, 1, 1); in test_yearlimit() 34 date def; in main() 35 check("Default constructor", def == date(not_a_date_time)); in main() 43 constexpr date d1(1900,1,1); in main() 47 constexpr date d2 = date(2000,12,31); in main() 48 constexpr date d3(d2); in main() 57 date d1(1900,1,1); in main() 58 date d2 = date(2000,1,1); in main() 59 date d3(d2); in main() 61 date d4(2000,12,31); in main() [all …]
|
D | testformat_date_parser.cpp | 70 boost::gregorian::date expected_res) in wtest_format() 72 typedef boost::date_time::format_date_parser<date, wchar_t> parser_type; in wtest_format() 84 date d = p.parse_date(sitr, stream_end, format); in wtest_format() 98 boost::gregorian::date expected_res) in test_format() 100 typedef boost::date_time::format_date_parser<date, char> parser_type; in test_format() 112 date d = pt.parse_date(sitr, stream_end, format); in test_format() 124 test_format2(boost::date_time::format_date_parser<date, charT>& parser, in test_format2() argument 128 boost::gregorian::date expected_res) in test_format2() 131 date d = parser.parse_date(value, format); in test_format2() 178 "wide and weird", date(2004,12,31)); in main() [all …]
|
D | testperiod.cpp | 15 date d1(2000,Jan,1),d2(2000,Jan,4); in main() 16 date d3 = d2; in main() 27 date_period p3(date(2000,Jan,4),date(2000,Feb,1)); in main() 35 date_period p4(date(1999,Dec,1), d2); in main() 38 date_period p5(date(1999,Dec,1), date(2000,Dec,31)); in main() 41 date_period p6(date(2000,Jan,1),date(2000,Dec,31)); in main() 49 date_period shifted(date(2000,Jan,5),date(2000,Jan,8)); in main() 55 date_period p10(date(2000,Jan,5),date(2000,Jan,8)); in main() 57 check("expand", p10 == date_period(date(2000,Jan,3),date(2000,Jan,10))); in main() 60 date_period i1(date(2000,Jan,5), date(2000,Jan,10)); in main() [all …]
|
D | testgreg_durations.cpp | 34 date d1(2005, Jan, 1); in main() 35 date d2(2005, Feb, 1); in main() 37 d1 + months(-1) == date(2004,Dec,1)); in main() 39 d2 + months(-1) == date(2005,Jan,1)); in main() 41 d2 + months(-2) == date(2004,Dec,1)); in main() 43 d2 + months(-12) == date(2004,Feb,1)); in main() 45 d2 + months(-13) == date(2004,Jan,1)); in main() 47 d2 + months(-14) == date(2003,Dec,1)); in main() 48 date d3(2005, Dec, 1); in main() 49 date d4(2005, Nov, 1); in main() [all …]
|
/external/pytorch/test/forward_backward_compatibility/ |
D | check_forward_backward_compatibility.py | 43 ("c10_experimental", datetime.date(9999, 1, 1)), 45 ("static", datetime.date(9999, 1, 1)), 46 ("prim::ModuleDictIndex", datetime.date(9999, 1, 1)), 47 ("prim::MKLDNNRelu6", datetime.date(9999, 1, 1)), 48 ("prim::MKLDNNRelu6_", datetime.date(9999, 1, 1)), 49 ("prim::is_ort", datetime.date(9999, 1, 1)), 50 ("prim::Concat", datetime.date(9999, 1, 1)), 51 ("aten::_NestedTensor_GeneralizedBMM", datetime.date(9999, 1, 1)), 53 ("profiler::_call_end_callbacks_on_jit_fut*", datetime.date(9999, 1, 1)), 54 ("profiler::_record_function_enter", datetime.date(9999, 1, 1)), [all …]
|
/external/threetenbp/src/test/java/org/threeten/bp/temporal/ |
D | TestChronoUnit.java | 64 {date(1939, SEPTEMBER, 2), date(1939, SEPTEMBER, 1), 0}, in data_yearsBetween() 65 {date(1939, SEPTEMBER, 2), date(1939, SEPTEMBER, 2), 0}, in data_yearsBetween() 66 {date(1939, SEPTEMBER, 2), date(1939, SEPTEMBER, 3), 0}, in data_yearsBetween() 68 {date(1939, SEPTEMBER, 2), date(1940, SEPTEMBER, 1), 0}, in data_yearsBetween() 69 {date(1939, SEPTEMBER, 2), date(1940, SEPTEMBER, 2), 1}, in data_yearsBetween() 70 {date(1939, SEPTEMBER, 2), date(1940, SEPTEMBER, 3), 1}, in data_yearsBetween() 72 {date(1939, SEPTEMBER, 2), date(1938, SEPTEMBER, 1), -1}, in data_yearsBetween() 73 {date(1939, SEPTEMBER, 2), date(1938, SEPTEMBER, 2), -1}, in data_yearsBetween() 74 {date(1939, SEPTEMBER, 2), date(1938, SEPTEMBER, 3), 0}, in data_yearsBetween() 76 {date(1939, SEPTEMBER, 2), date(1945, SEPTEMBER, 3), 6}, in data_yearsBetween() [all …]
|
D | TestTemporalAdjusters.java | 68 LocalDate date = date(2007, month, i); in test_firstDayOfMonth_nonLeap() local 69 LocalDate test = (LocalDate) TemporalAdjusters.firstDayOfMonth().adjustInto(date); in test_firstDayOfMonth_nonLeap() 81 LocalDate date = date(2008, month, i); in test_firstDayOfMonth_leap() local 82 LocalDate test = (LocalDate) TemporalAdjusters.firstDayOfMonth().adjustInto(date); in test_firstDayOfMonth_leap() 102 LocalDate date = date(2007, month, i); in test_lastDayOfMonth_nonLeap() local 103 LocalDate test = (LocalDate) TemporalAdjusters.lastDayOfMonth().adjustInto(date); in test_lastDayOfMonth_nonLeap() 115 LocalDate date = date(2008, month, i); in test_lastDayOfMonth_leap() local 116 LocalDate test = (LocalDate) TemporalAdjusters.lastDayOfMonth().adjustInto(date); in test_lastDayOfMonth_leap() 136 LocalDate date = date(2007, month, i); in test_firstDayOfNextMonth_nonLeap() local 137 … LocalDate test = (LocalDate) TemporalAdjusters.firstDayOfNextMonth().adjustInto(date); in test_firstDayOfNextMonth_nonLeap() [all …]
|
D | TestIsoFields.java | 86 public void test_WOWBY(LocalDate date, DayOfWeek dow, int week, int wby) { in test_WOWBY() argument 87 assertEquals(date.getDayOfWeek(), dow); in test_WOWBY() 88 assertEquals(IsoFields.WEEK_OF_WEEK_BASED_YEAR.getFrom(date), week); in test_WOWBY() 89 assertEquals(date.get(IsoFields.WEEK_OF_WEEK_BASED_YEAR), week); in test_WOWBY() 96 public void test_WBY(LocalDate date, DayOfWeek dow, int week, int wby) { in test_WBY() argument 97 assertEquals(date.getDayOfWeek(), dow); in test_WBY() 98 assertEquals(IsoFields.WEEK_BASED_YEAR.getFrom(date), wby); in test_WBY() 99 assertEquals(date.get(IsoFields.WEEK_BASED_YEAR), wby); in test_WBY() 106 public void test_parse_weeks(LocalDate date, DayOfWeek dow, int week, int wby) { in test_parse_weeks() argument 112 assertEquals(parsed, date); in test_parse_weeks() [all …]
|
/external/sdv/vsomeip/third_party/boost/date_time/test/posix_time/ |
D | testdst_rules.cpp | 16 typedef boost::gregorian::date date_type; 17 typedef boost::gregorian::date::day_type day_type; 18 typedef boost::gregorian::date::month_type month_type; 19 typedef boost::gregorian::date::year_type year_type; 20 typedef boost::date_time::partial_date<boost::gregorian::date> start_rule_functor; 21 typedef boost::date_time::partial_date<boost::gregorian::date> end_rule_functor; 53 date d(2002,Feb,1); in main() 58 typedef boost::date_time::us_dst_rules<date, time_duration, 120, 60> us_dst_local; in main() 59 date dst_start(2002,Apr, 7); in main() 60 date dst_end(2002,Oct, 27); in main() [all …]
|
/external/sdv/vsomeip/third_party/boost/date_time/include/boost/date_time/gregorian/ |
D | greg_date.hpp | 38 class BOOST_SYMBOL_VISIBLE date : public date_time::date<date, gregorian_calendar, date_duration> class 51 BOOST_CXX14_CONSTEXPR date(): in date() function in boost::gregorian::date 52 …date_time::date<date, gregorian_calendar, date_duration>(date_rep_type::from_special(not_a_date_ti… in date() 56 BOOST_CXX14_CONSTEXPR date(year_type y, month_type m, day_type d) in date() function in boost::gregorian::date 57 : date_time::date<date, gregorian_calendar, date_duration>(y, m, d) in date() 64 BOOST_CXX14_CONSTEXPR explicit date(const ymd_type& ymd) in date() function in boost::gregorian::date 65 : date_time::date<date, gregorian_calendar, date_duration>(ymd) in date() 68 BOOST_CXX14_CONSTEXPR explicit date(const date_int_type& rhs): in date() function in boost::gregorian::date 69 date_time::date<date,gregorian_calendar, date_duration>(rhs) in date() 72 BOOST_CXX14_CONSTEXPR explicit date(date_rep_type rhs): in date() function in boost::gregorian::date [all …]
|
D | gregorian_types.hpp | 41 typedef date_time::period<date, date_duration> date_period; 48 typedef date_time::year_based_generator<date> year_based_generator; 51 typedef date_time::partial_date<date> partial_date; 53 typedef date_time::nth_kday_of_month<date> nth_kday_of_month; 56 typedef date_time::first_kday_of_month<date> first_kday_of_month; 59 typedef date_time::last_kday_of_month<date> last_kday_of_month; 62 typedef date_time::first_kday_after<date> first_kday_after; 65 typedef date_time::first_kday_before<date> first_kday_before; 71 typedef date_time::day_clock<date> day_clock; 76 typedef date_time::date_itr_base<date> date_iterator; [all …]
|
/external/pdfium/fxjs/ |
D | cjs_publicmethods_embeddertest.cpp | 21 double RoundDownDate(double date) { in RoundDownDate() argument 22 return date - fmod(date, 86400000); in RoundDownDate() 34 double date; in TEST_F() local 38 date = CJS_PublicMethods::ParseDateUsingFormat(isolate(), L"06/25/1968", in TEST_F() 40 date = RoundDownDate(date); in TEST_F() 41 EXPECT_DOUBLE_EQ(-47865600000, date); in TEST_F() 46 date = CJS_PublicMethods::ParseDateUsingFormat(isolate(), L"25061968", in TEST_F() 48 date = RoundDownDate(date); in TEST_F() 49 EXPECT_DOUBLE_EQ(-47865600000, date); in TEST_F() 54 date = CJS_PublicMethods::ParseDateUsingFormat(isolate(), L"19680625", in TEST_F() [all …]
|
/external/rust/android-crates-io/crates/config/tests/legacy/ |
D | datetime.rs | 71 let date: String = s.get("json_datetime").unwrap(); in test_datetime_string() localVariable 73 assert_eq!(&date, "2017-05-10T02:14:53Z"); in test_datetime_string() 76 let date: String = s.get("toml_datetime").unwrap(); in test_datetime_string() localVariable 78 assert_eq!(&date, "2017-05-11T14:55:15Z"); in test_datetime_string() 81 let date: String = s.get("yaml_datetime").unwrap(); in test_datetime_string() localVariable 83 assert_eq!(&date, "2017-06-12T10:58:30Z"); in test_datetime_string() 86 let date: String = s.get("hjson_datetime").unwrap(); in test_datetime_string() localVariable 88 assert_eq!(&date, "2017-05-10T02:14:53Z"); in test_datetime_string() 91 let date: String = s.get("ini_datetime").unwrap(); in test_datetime_string() localVariable 93 assert_eq!(&date, "2017-05-10T02:14:53Z"); in test_datetime_string() [all …]
|
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/time/ |
D | DateUtils.java | 382 public static Date addYears(final Date date, final int amount) { in addYears() argument 383 return add(date, Calendar.YEAR, amount); in addYears() 395 public static Date addMonths(final Date date, final int amount) { in addMonths() argument 396 return add(date, Calendar.MONTH, amount); in addMonths() 408 public static Date addWeeks(final Date date, final int amount) { in addWeeks() argument 409 return add(date, Calendar.WEEK_OF_YEAR, amount); in addWeeks() 421 public static Date addDays(final Date date, final int amount) { in addDays() argument 422 return add(date, Calendar.DAY_OF_MONTH, amount); in addDays() 434 public static Date addHours(final Date date, final int amount) { in addHours() argument 435 return add(date, Calendar.HOUR_OF_DAY, amount); in addHours() [all …]
|
/external/threetenbp/src/test/java/org/threeten/bp/chrono/ |
D | TestHijrahChronology.java | 76 {HijrahChronology.INSTANCE.date(1, 1, 1), LocalDate.of(622, 7, 19)}, in data_samples() 77 {HijrahChronology.INSTANCE.date(1, 1, 2), LocalDate.of(622, 7, 20)}, in data_samples() 78 {HijrahChronology.INSTANCE.date(1, 1, 3), LocalDate.of(622, 7, 21)}, in data_samples() 80 {HijrahChronology.INSTANCE.date(2, 1, 1), LocalDate.of(623, 7, 8)}, in data_samples() 81 {HijrahChronology.INSTANCE.date(3, 1, 1), LocalDate.of(624, 6, 27)}, in data_samples() 82 {HijrahChronology.INSTANCE.date(3, 12, 6), LocalDate.of(625, 5, 23)}, in data_samples() 83 {HijrahChronology.INSTANCE.date(4, 1, 1), LocalDate.of(625, 6, 16)}, in data_samples() 84 {HijrahChronology.INSTANCE.date(4, 7, 3), LocalDate.of(625, 12, 12)}, in data_samples() 85 {HijrahChronology.INSTANCE.date(4, 7, 4), LocalDate.of(625, 12, 13)}, in data_samples() 86 {HijrahChronology.INSTANCE.date(5, 1, 1), LocalDate.of(626, 6, 5)}, in data_samples() [all …]
|
D | TestThaiBuddhistChronology.java | 81 {ThaiBuddhistChronology.INSTANCE.date(1 + YDIFF, 1, 1), LocalDate.of(1, 1, 1)}, in data_samples() 82 {ThaiBuddhistChronology.INSTANCE.date(1 + YDIFF, 1, 2), LocalDate.of(1, 1, 2)}, in data_samples() 83 {ThaiBuddhistChronology.INSTANCE.date(1 + YDIFF, 1, 3), LocalDate.of(1, 1, 3)}, in data_samples() 85 {ThaiBuddhistChronology.INSTANCE.date(2 + YDIFF, 1, 1), LocalDate.of(2, 1, 1)}, in data_samples() 86 {ThaiBuddhistChronology.INSTANCE.date(3 + YDIFF, 1, 1), LocalDate.of(3, 1, 1)}, in data_samples() 87 {ThaiBuddhistChronology.INSTANCE.date(3 + YDIFF, 12, 6), LocalDate.of(3, 12, 6)}, in data_samples() 88 {ThaiBuddhistChronology.INSTANCE.date(4 + YDIFF, 1, 1), LocalDate.of(4, 1, 1)}, in data_samples() 89 {ThaiBuddhistChronology.INSTANCE.date(4 + YDIFF, 7, 3), LocalDate.of(4, 7, 3)}, in data_samples() 90 {ThaiBuddhistChronology.INSTANCE.date(4 + YDIFF, 7, 4), LocalDate.of(4, 7, 4)}, in data_samples() 91 {ThaiBuddhistChronology.INSTANCE.date(5 + YDIFF, 1, 1), LocalDate.of(5, 1, 1)}, in data_samples() [all …]
|
/external/threetenbp/src/test/java/org/threeten/bp/ |
D | FluentAPIChecker.java | 64 LocalDate date = null; in main() local 65 date = LocalDate.now(clock).plusDays(3); in main() 66 date = LocalDate.now(clock).plus(3, DAYS); in main() 67 date = LocalDate.now(Clock.systemDefaultZone()).plus(3, DAYS); in main() 69 date = LocalDate.of(2007, 3, 20); in main() 70 date = LocalDate.of(2007, MARCH, 20); in main() 71 date = Year.of(2007).atMonth(3).atDay(20); in main() 72 date = Year.of(2007).atMonth(MARCH).atDay(20); in main() 74 date = date.with(lastDayOfMonth()); in main() 75 date = date.with(next(MONDAY)); in main() [all …]
|
/external/python/dateutil/docs/ |
D | relativedelta.rst | 16 >>> TODAY = date(2003, 9, 17) 26 >>> TODAY = date.today() 30 datetime.date(2003, 9, 17) 85 >>> date(2003,1,27)+relativedelta(months=+1) 86 datetime.date(2003, 2, 27) 87 >>> date(2003,1,31)+relativedelta(months=+1) 88 datetime.date(2003, 2, 28) 89 >>> date(2003,1,31)+relativedelta(months=+2) 90 datetime.date(2003, 3, 31) 96 >>> date(2000,2,28)+relativedelta(years=+1) [all …]
|
/external/rust/android-crates-io/crates/config/tests/ |
D | datetime.rs | 57 let date: String = s.get("json_datetime").unwrap(); in test_datetime_string() localVariable 59 assert_eq!(&date, "2017-05-10T02:14:53Z"); in test_datetime_string() 62 let date: String = s.get("toml_datetime").unwrap(); in test_datetime_string() localVariable 64 assert_eq!(&date, "2017-05-11T14:55:15Z"); in test_datetime_string() 67 let date: String = s.get("yaml_datetime").unwrap(); in test_datetime_string() localVariable 69 assert_eq!(&date, "2017-06-12T10:58:30Z"); in test_datetime_string() 72 let date: String = s.get("ini_datetime").unwrap(); in test_datetime_string() localVariable 74 assert_eq!(&date, "2017-05-10T02:14:53Z"); in test_datetime_string() 77 let date: String = s.get("ron_datetime").unwrap(); in test_datetime_string() localVariable 79 assert_eq!(&date, "2021-04-19T11:33:02Z"); in test_datetime_string() [all …]
|
/external/rust/android-crates-io/crates/chrono/src/ |
D | date.rs | 59 date: NaiveDate, field 77 pub fn from_utc(date: NaiveDate, offset: Tz::Offset) -> Date<Tz> { in from_utc() 78 Date { date, offset } in from_utc() 216 self.date.succ_opt().map(|date| Date::from_utc(date, self.offset.clone())) in succ_opt() 235 self.date.pred_opt().map(|date| Date::from_utc(date, self.offset.clone())) in pred_opt() 257 tz.from_utc_date(&self.date) in with_timezone() 266 let date = self.date.checked_add_signed(rhs)?; in checked_add_signed() localVariable 267 Some(Date { date, offset: self.offset }) in checked_add_signed() 276 let date = self.date.checked_sub_signed(rhs)?; in checked_sub_signed() localVariable 277 Some(Date { date, offset: self.offset }) in checked_sub_signed() [all …]
|
/external/sdv/vsomeip/third_party/boost/icl/example/man_power_/ |
D | man_power.cpp | 40 interval_set<date> weekends(const discrete_interval<date>& scope) in weekends() 42 interval_set<date> weekends; in weekends() 44 date cur_weekend_sat in weekends() 51 weekends += discrete_interval<date>::right_open(*week_iter, *week_iter + days(2)); in weekends() 65 date someday = from_string("2008-08-01"); in man_power() 66 date thenday = someday + months(3); in man_power() 68 discrete_interval<date> scope = discrete_interval<date>::right_open(someday, thenday); in man_power() 74 interval_set<date> worktime(scope); in man_power() 81 worktime -= discrete_interval<date>::closed(from_string("2008-08-18"), in man_power() 89 interval_map<date,int> claudias_working_hours; in man_power() [all …]
|
/external/curl/lib/ |
D | parsedate.c | 98 static int parsedate(const char *date, time_t *output); 266 static void skip(const char **date) in skip() argument 269 while(**date && !ISALNUM(**date)) in skip() 270 (*date)++; in skip() 299 static int oneortwodigit(const char *date, const char **endp) in oneortwodigit() argument 301 int num = date[0] - '0'; in oneortwodigit() 302 if(ISDIGIT(date[1])) { in oneortwodigit() 303 *endp = &date[2]; in oneortwodigit() 304 return num*10 + (date[1] - '0'); in oneortwodigit() 306 *endp = &date[1]; in oneortwodigit() [all …]
|