| /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() 18 int i = array_len-1; in test_month_decrement_iterator() 21 for (; ditr > Answers[0] - date_duration(1); --ditr) { in test_month_decrement_iterator() 23 i--; in test_month_decrement_iterator() 25 check("month iterator iteration count", i == -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() [all …]
|
| D | testdate.cpp | 17 sdesc << "should" << (allowed ? "" : " not") << " be able to make a date in year " << yr; in test_yearlimit() 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() [all …]
|
| D | testgreg_durations.cpp | 15 // do not set this test to return fail - in main() 17 check("Optional gregorian types not selected - no tests run", true); in main() 29 check("months & months subtractable", months(-5) == m2 - m1); in main() 30 m2 -= m1; in main() 31 check("months & months subtractable", months(-5) == m2); in main() 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() [all …]
|
| /external/cronet/tot/third_party/libc++/src/test/std/time/time.syn/ |
| D | formatter_tests.h | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 99 …check_invalid_type(valid_types, "The supplied date time doesn't contain a weekday", STR("a"), arg); in check_invalid_types() 100 …check_invalid_type(valid_types, "The supplied date time doesn't contain a weekday", STR("A"), arg); in check_invalid_types() 101 check_invalid_type(valid_types, "The supplied date time doesn't contain a month", STR("b"), arg); in check_invalid_types() 102 check_invalid_type(valid_types, "The supplied date time doesn't contain a month", STR("B"), arg); in check_invalid_types() 103 …check_invalid_type(valid_types, "The supplied date time doesn't contain a date and time", STR("c")… in check_invalid_types() 104 check_invalid_type(valid_types, "The supplied date time doesn't contain a year", STR("C"), arg); in check_invalid_types() 105 check_invalid_type(valid_types, "The supplied date time doesn't contain a day", STR("d"), arg); in check_invalid_types() [all …]
|
| /external/cronet/stable/third_party/libc++/src/test/std/time/time.syn/ |
| D | formatter_tests.h | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 99 …check_invalid_type(valid_types, "The supplied date time doesn't contain a weekday", STR("a"), arg); in check_invalid_types() 100 …check_invalid_type(valid_types, "The supplied date time doesn't contain a weekday", STR("A"), arg); in check_invalid_types() 101 check_invalid_type(valid_types, "The supplied date time doesn't contain a month", STR("b"), arg); in check_invalid_types() 102 check_invalid_type(valid_types, "The supplied date time doesn't contain a month", STR("B"), arg); in check_invalid_types() 103 …check_invalid_type(valid_types, "The supplied date time doesn't contain a date and time", STR("c")… in check_invalid_types() 104 check_invalid_type(valid_types, "The supplied date time doesn't contain a year", STR("C"), arg); in check_invalid_types() 105 check_invalid_type(valid_types, "The supplied date time doesn't contain a day", STR("d"), arg); in check_invalid_types() [all …]
|
| /external/threetenbp/src/test/java/org/threeten/bp/temporal/ |
| D | TestChronoUnit.java | 2 * Copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos 16 * * Neither the name of JSR-310 nor the names of its contributors 60 //----------------------------------------------------------------------- 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() [all …]
|
| /external/rust/android-crates-io/crates/chrono/src/ |
| D | date.rs | 4 //! ISO 8601 calendar date with time zone. 16 #[cfg(all(feature = "unstable-locales", feature = "alloc"))] 24 /// ISO 8601 calendar date with time zone. 35 /// There are some guarantees on the usage of `Date<Tz>`: 37 /// - If properly constructed via [`TimeZone::ymd`] and others without an error, 38 /// the corresponding local date should exist for at least a moment. 41 /// - The `TimeZone` is free to assign *any* [`Offset`](crate::offset::Offset) to the 42 /// local date, as long as that offset did occur in given day. 44 /// For example, if `2015-03-08T01:59-08:00` is followed by `2015-03-08T03:00-07:00`, 45 /// it may produce either `2015-03-08-08:00` or `2015-03-08-07:00` [all …]
|
| /external/apache-commons-compress/src/changes/ |
| D | changes.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- 11 http://www.apache.org/licenses/LICENSE-2.0 19 --> 21 <!-- 22 This file is also used by the maven-changes-plugin to generate the release notes. 26 release process easy :-). 30 3. Use the report generated by the maven-changelog-plugin to see all 35 mvn changes:announcement-generate -Prelease-notes [-Dchanges.version=m.n] 38 --> [all …]
|
| /external/sdk-platform-java/java-core/google-cloud-core/src/test/java/com/google/cloud/ |
| D | DateTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 30 /** Unit tests for {@link Date}. */ 34 private static final SimpleDateFormat SIMPLE_DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd"); 38 verifyDate("2016-09-18", 2016, 9, 18); in parseDate() 39 verifyDate("2000-01-01", 2000, 1, 1); in parseDate() 40 verifyDate("9999-12-31", 9999, 12, 31); in parseDate() 41 verifyDate("0001-01-01", 1, 1, 1); in parseDate() 42 verifyDate("2000-02-29", 2000, 2, 29); // This is a valid leap year. in parseDate() 43 verifyDate("1900-02-29", 1900, 2, 29); // This is NOT a valid leap year. in parseDate() 44 verifyDate("2001-02-29", 2001, 2, 29); // Also not a valid leap year. in parseDate() [all …]
|
| /external/python/cpython3/Misc/NEWS.d/ |
| D | 3.5.3rc1.rst | 1 .. release date: 2017-01-02 3 .. date: 9755 15 .. date: 9753 25 .. date: 9898 34 .. date: 9897 43 .. date: 9896 47 Fix a memory leak in split-table dictionaries: setattr() must not convert 53 .. date: 9895 63 .. date: 9894 64 .. nonce: K6wQ-3 [all …]
|
| D | 3.7.0a1.rst | 2 .. date: 2017-09-05-15-26-30 4 .. release date: 2017-09-19 13 .. date: 2017-08-23-17-02-55 17 Add fuzz tests for float(str), int(str), unicode(str); for oss-fuzz. 22 .. date: 2017-08-16-16-35-59 32 .. date: 0347 43 .. date: 0344 49 vulnerabilities including: :cve:`2017-9233` (External entity infinite loop 50 DoS), :cve:`2016-9063` (Integer overflow, re-fix), :cve:`2016-0718` (Fix 51 regression bugs from 2.2.0's fix to :cve:`2016-0718`) and :cve:`2012-0876` [all …]
|
| D | 3.6.0a1.rst | 1 .. release date: 2016-05-16 3 .. date: 9135 4 .. nonce: C_-XFg 15 .. date: 9102 26 .. date: 9076 36 .. date: 9253 45 .. date: 9252 46 .. nonce: -nPBL6 54 .. date: 9251 63 .. date: 9250 [all …]
|
| D | 3.6.0b1.rst | 2 .. date: 9619 3 .. nonce: C-8boi 4 .. release date: 2016-09-12 7 The __class__ cell used by zero-argument super() is now initialized from 15 .. date: 9618 25 .. date: 9617 34 .. date: 9616 44 .. date: 9615 48 In f-strings, only allow backslashes inside the braces (where the 50 where backslashes are allowed anywhere in an f-string. Also, require that [all …]
|
| D | 3.5.0a1.rst | 2 .. date: 8948 4 .. release date: 2015-02-08 7 PEP 475 - EINTR handling. 12 .. date: 8947 22 .. date: 8946 32 .. date: 8945 42 .. date: 8944 52 .. date: 8943 64 .. date: 8942 74 .. date: 8941 [all …]
|
| D | 3.5.2rc1.rst | 2 .. date: 9636 4 .. release date: 2016-06-12 8 Update expat to 2.1.1, fixes :cve:`2015-1283`. 13 .. date: 9635 18 Fix TLS stripping vulnerability in smtplib, :cve:`2016-0772`. Reported by Team 24 .. date: 9629 36 .. date: 9597 37 .. nonce: C_-XFg 48 .. date: 9581 59 .. date: 9561 [all …]
|
| D | 3.9.0a1.rst | 2 .. date: 2019-11-18-16-17-56 4 .. release date: 2019-11-19 13 .. date: 2019-11-14-16-13-23 22 .. date: 2019-10-08-19-29-55 23 .. nonce: QL7s0- 31 .. date: 2019-09-25-13-21-09 42 .. date: 2019-09-23-21-02-46 47 :cve:`2019-15903`. 52 .. date: 2019-08-27-01-13-05 64 .. date: 2019-07-16-08-11-00 [all …]
|
| D | 3.10.0a1.rst | 2 .. date: 2020-07-15-20-15-08 4 .. release date: 2020-10-05 8 :issue:`29778` (:cve:`2020-15801`). 13 .. date: 2020-07-03-20-41-29 23 .. date: 2020-07-03-17-21-37 28 embedded (:cve:`2020-15523`). 33 .. date: 2020-06-29-16-02-29 46 .. date: 2020-02-12-14-17-39 56 .. date: 2020-10-04-10-55-12 66 .. date: 2020-10-04-01-02-58 [all …]
|
| D | 3.8.0a1.rst | 2 .. date: 2019-01-15-18-16-05 4 .. release date: 2019-02-03 7 :cve:`2019-5010`: Fix a NULL pointer deref in ssl module. The cert parser did 10 (TALOS-2018-0758) reported by Colin Read and Nicolas Edet of Cisco. 15 .. date: 2018-11-23-15-00-23 19 The :option:`-I` command line option (run Python in isolated mode) is now 21 spawning child processes. Previously, only :option:`-E` and :option:`-s` 22 options (enabled by :option:`-I`) were copied. 27 .. date: 2018-09-24-18-49-25 33 -E or -I arguments. [all …]
|
| D | 3.12.0a1.rst | 1 .. date: 2022-09-28-17-09-37 2 .. gh-issue: 97616 4 .. release date: 2022-10-25 13 .. date: 2022-09-07-10-42-00 14 .. gh-issue: 97514 21 use the :ref:`"forkserver" start method <multiprocessing-start-methods>` is 26 <https://man7.org/linux/man-pages/man7/network_namespaces.7.html>`_ (often 32 This prevents Linux :cve:`2022-42919`. 36 .. date: 2022-06-15-20-09-23 37 .. gh-issue: 87389 [all …]
|
| /external/rust/android-crates-io/crates/icu_capi/bindings/cpp/icu4x/ |
| D | Date.hpp | 4 #include "Date.d.hpp" 27 …typedef struct icu4x_Date_from_iso_in_calendar_mv1_result {union {icu4x::capi::Date* ok; icu4x::ca… 30 …typedef struct icu4x_Date_from_codes_in_calendar_mv1_result {union {icu4x::capi::Date* ok; icu4x::… 33 …typedef struct icu4x_Date_from_string_mv1_result {union {icu4x::capi::Date* ok; icu4x::capi::Calen… 36 …icu4x::capi::Date* icu4x_Date_to_calendar_mv1(const icu4x::capi::Date* self, const icu4x::capi::Ca… 38 icu4x::capi::IsoDate* icu4x_Date_to_iso_mv1(const icu4x::capi::Date* self); 40 uint16_t icu4x_Date_day_of_year_mv1(const icu4x::capi::Date* self); 42 uint8_t icu4x_Date_day_of_month_mv1(const icu4x::capi::Date* self); 44 icu4x::capi::Weekday icu4x_Date_day_of_week_mv1(const icu4x::capi::Date* self); 46 …uint8_t icu4x_Date_week_of_month_mv1(const icu4x::capi::Date* self, icu4x::capi::Weekday first_wee… [all …]
|
| /external/apache-commons-lang/src/main/java/org/apache/commons/lang3/time/ |
| D | DateUtils.java | 9 * http://www.apache.org/licenses/LICENSE-2.0 22 import java.util.Date; 34 * {@link java.util.Calendar} and {@link java.util.Date} object. 40 * This way date-fields will be ignored in bottom-up order. 41 * As a complement to these methods we've introduced some fragment-methods. 42 * With these methods the Date-fields will be ignored in top-down order. 43 * Since a date without a year is not a valid date, you have to decide in what 44 * kind of date-field you want your result, for instance milliseconds or days. 47 * Several methods are provided for adding to {@link Date} objects, of the form 48 * {@code addXXX(Date date, int amount)}. It is important to note these methods [all …]
|
| /external/toybox/tests/ |
| D | date.test | 3 [ -f testing.sh ] && . testing.sh 10 this_year=$(TZ=$tz date +%Y) 15 # Unix date parsing. 16 testing "-d @0" "TZ=$tz date -d @0" "Thu Jan 1 01:00:00 CET 1970\n" "" "" 17 testing "-d @0x123 invalid" "TZ=$tz date -d @0x123 2>/dev/null || echo expected error" "expected er… 19 # POSIX format with 2- and 4-digit years. 20 # All toyonly because coreutils rejects POSIX format dates supplied to -d. 21 # These expected values are from running on the host without -d (not as root!). 22 toyonly testing "-d MMDDhhmm" \ 23 "TZ=$tz date -d 06021234 +'%F %T'" "$this_year-06-02 12:34:00\n" "" "" [all …]
|
| /external/sdk-platform-java/java-core/google-cloud-core/src/main/java/com/google/cloud/ |
| D | Date.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 25 /** Represents a Date without time, such as 2017-03-17. Date is timezone independent. */ 27 public final class Date implements Comparable<Date>, Serializable { class 29 // Date format "yyyy-mm-dd" 35 private Date(int year, int month, int dayOfMonth) { in Date() method in Date 45 * Constructs a new Date instance. 51 public static Date fromYearMonthDay(int year, int month, int dayOfMonth) { in fromYearMonthDay() 52 return new Date(year, month, dayOfMonth); in fromYearMonthDay() 55 /** @param date Data in RFC 3339 date format (yyyy-mm-dd). */ 56 public static Date parseDate(String date) { in parseDate() argument [all …]
|
| /external/cronet/stable/third_party/icu/source/test/testdata/ |
| D | calendar.txt | 3 // Copyright (c) 2008-2013 International Business Machines 31 "ERA=1,YEAR=1,MONTH=JUNE,DATE=4", // tw 32 "ERA=1,YEAR=1912,MONTH=,DATE=" // greg 36 "ERA=1,YEAR=3,MONTH=FEBRUARY,DATE=12", // tw 37 "ERA=1,YEAR=1914,MONTH=,DATE=" // greg 41 "ERA=1,YEAR=96,MONTH=FEBRUARY,DATE=12", // tw 42 "ERA=1,YEAR=2007,MONTH=,DATE=" // greg 45 // [before minguo]2 1[month] 24[day] -> 1910-1-24 48 "ERA=0,YEAR=2,MONTH=JANUARY,DATE=24", // tw 49 "ERA=1,YEAR=1910,MONTH=JANUARY,DATE=24", // greg [all …]
|
| /external/icu/icu4c/source/test/testdata/ |
| D | calendar.txt | 3 // Copyright (c) 2008-2013 International Business Machines 31 "ERA=1,YEAR=1,MONTH=JUNE,DATE=4", // tw 32 "ERA=1,YEAR=1912,MONTH=,DATE=" // greg 36 "ERA=1,YEAR=3,MONTH=FEBRUARY,DATE=12", // tw 37 "ERA=1,YEAR=1914,MONTH=,DATE=" // greg 41 "ERA=1,YEAR=96,MONTH=FEBRUARY,DATE=12", // tw 42 "ERA=1,YEAR=2007,MONTH=,DATE=" // greg 45 // [before minguo]2 1[month] 24[day] -> 1910-1-24 48 "ERA=0,YEAR=2,MONTH=JANUARY,DATE=24", // tw 49 "ERA=1,YEAR=1910,MONTH=JANUARY,DATE=24", // greg [all …]
|