| /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/third_party/libc++/src/test/std/time/time.syn/ |
| D | formatter_tests.h | 1 //===----------------------------------------------------------------------===// 4 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 //===----------------------------------------------------------------------===// 112 …check_invalid_type(valid_types, "The supplied date time doesn't contain a weekday", STR("a"), arg); in check_invalid_types() 113 …check_invalid_type(valid_types, "The supplied date time doesn't contain a weekday", STR("A"), arg); in check_invalid_types() 114 check_invalid_type(valid_types, "The supplied date time doesn't contain a month", STR("b"), arg); in check_invalid_types() 115 check_invalid_type(valid_types, "The supplied date time doesn't contain a month", STR("B"), arg); in check_invalid_types() 116 …check_invalid_type(valid_types, "The supplied date time doesn't contain a date and time", STR("c")… in check_invalid_types() 117 check_invalid_type(valid_types, "The supplied date time doesn't contain a year", STR("C"), arg); in check_invalid_types() 118 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/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/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/python/cpython2/Modules/_ctypes/libffi/ |
| D | ChangeLog | 3 Date: Mon May 19 09:41:32 2014 -0400 5 Update date. Annoucing 3.1 today. 9 Date: Mon May 19 09:37:21 2014 -0400 15 Date: Sun May 11 10:30:22 2014 -0400 21 Date: Sun May 11 10:22:30 2014 -0400 27 Date: Sun May 11 09:56:40 2014 -0400 33 Date: Sun May 11 09:55:28 2014 -0400 39 Date: Sun May 11 09:52:47 2014 -0400 46 Date: Wed Apr 23 19:24:47 2014 -0400 48 Merge pull request #119 from joshtriplett/fastcall-fastball [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.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.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.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.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.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 …]
|
| /external/python/cpython2/Misc/NEWS.d/ |
| D | 2.6a1.rst | 2 .. date: 6793 4 .. release date: 29-Feb-2008 13 .. date: 6792 22 .. date: 6791 31 .. date: 6790 41 .. date: 6789 55 .. date: 6788 69 .. date: 6787 81 .. date: 6786 91 .. date: 6785 [all …]
|
| D | 2.7a1.rst | 2 .. date: 7759 4 .. release date: 2009-12-05 13 .. date: 7758 24 .. date: 7757 34 .. date: 7756 39 1e-100 used to raise OverflowError, but now gives the requested 120 45 .. date: 7755 46 .. nonce: Z3-djS 54 .. date: 7754 63 .. date: 7753 [all …]
|
| D | 2.7.4rc1.rst | 2 .. date: 9006 4 .. release date: 2013-03-23 12 .. date: 9005 21 .. date: 9004 31 .. date: 9003 41 .. date: 9002 51 .. date: 9001 55 The unicode-internal decoder no longer read past the end of input buffer. 60 .. date: 9000 64 Fix error handling bugs in the unicode-escape-decode decoder. [all …]
|
| D | 2.6b1.rst | 2 .. date: 7017 4 .. release date: 18-June-2008 14 .. date: 7016 24 .. date: 7015 33 .. date: 7014 44 .. date: 7013 53 .. date: 7012 62 .. date: 7011 63 .. nonce: SglN-p 71 .. date: 7010 [all …]
|
| D | 2.7.3rc1.rst | 2 .. date: 8656 4 .. release date: 2012-02-23 13 .. date: 8655 17 oCERT-2011-003: add -R command-line option and PYTHONHASHSEED environment 18 variable, to provide an opt-in way to protect against denial of service 25 .. date: 8654 26 .. nonce: 6wzkv- 30 time doesn't fit in a 32-bit timestamp. 35 .. date: 8653 36 .. nonce: M-D70Z [all …]
|
| D | 2.7.1rc1.rst | 2 .. date: 8273 4 .. release date: 2010-11-13 13 .. date: 8272 23 .. date: 8271 33 .. date: 8270 42 .. date: 8269 52 .. date: 8268 61 .. date: 8267 71 .. date: 8266 83 .. date: 8265 [all …]
|
| D | 2.7.13rc1.rst | 2 .. date: 9925 4 .. release date: 2016-12-03 13 .. date: 9924 18 supports reading read-only files. 23 .. date: 9923 27 Fixed miscellaneous issues with C-style formatting of types with custom 33 .. date: 9922 38 C-inherited Cython classes). 43 .. date: 9921 48 compile-time PYTHONPATH components. [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 …]
|
| /external/cronet/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/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 …]
|