• Home
  • Raw
  • Download

Lines Matching refs:datetime

17 from datetime import date, datetime, time, timedelta, timezone
95 class DatetimeSubclass(datetime):
258 (datetime(2019, 1, 1, tzinfo=timezone.utc), ValueError),
259 (datetime(2019, 1, 1), ValueError),
273 dt = datetime(2020, 1, 1, tzinfo=zi)
499 epoch = datetime(1970, 1, 1)
552 ZoneTransition(datetime(1883, 6, 9, 14), LMT, STD),
560 dt0 = datetime(1883, 6, 9, 1, tzinfo=zi)
561 dt1 = datetime(1883, 6, 10, 1, tzinfo=zi)
571 datetime(1883, 6, 9, 1, tzinfo=zi),
572 datetime(1883, 6, 9, 7, 31, 2, tzinfo=timezone.utc),
575 datetime(2010, 4, 1, 12, tzinfo=zi),
576 datetime(2010, 4, 1, 18, tzinfo=timezone.utc),
591 ZoneTransition(datetime(1970, 1, 1), DST, DST),
600 datetime(1900, 3, 1),
601 datetime(1965, 9, 12),
602 datetime(1970, 1, 1),
603 datetime(2010, 11, 3),
604 datetime(2040, 1, 1),
621 ZoneTransition(datetime(year, 3, 1, 2), STD, DST)
624 ZoneTransition(datetime(year, 11, 1, 2), DST, STD)
637 (datetime(1995, 1, 1), STD),
638 (datetime(1996, 4, 1), DST),
639 (datetime(1996, 11, 2), STD),
640 (datetime(2001, 1, 1), STD),
681 datetime(1900, 1, 1),
682 datetime(1970, 1, 1),
683 datetime(2000, 1, 1),
718 ZoneTransition(datetime(1912, 1, 1), LMT, GMT),
728 (datetime.min, LMT),
729 (datetime.max, GMT),
730 (datetime(1911, 12, 31), LMT),
731 (datetime(1912, 1, 2), GMT),
742 (datetime.min, datetime.min + timedelta(seconds=968)),
743 (datetime(1898, 12, 31, 23, 43, 52), datetime(1899, 1, 1)),
745 datetime(1911, 12, 31, 23, 59, 59, 999999),
746 datetime(1912, 1, 1, 0, 16, 7, 999999),
748 (datetime(1912, 1, 1, 0, 16, 8), datetime(1912, 1, 1, 0, 16, 8)),
749 (datetime(1970, 1, 1), datetime(1970, 1, 1)),
750 (datetime.max, datetime.max),
763 transitions = [ZoneTransition(datetime(1970, 1, 1), UTC, UTC)]
769 dt = datetime(2020, 1, 1, tzinfo=zi)
1077 (datetime(2019, 3, 9), EST, NORMAL),
1078 (datetime(2019, 3, 10, 3, 59), EST, NORMAL),
1079 (datetime(2019, 3, 10, 4, 0, fold=0), EST, GAP),
1080 (datetime(2019, 3, 10, 4, 0, fold=1), EDT, GAP),
1081 (datetime(2019, 3, 10, 4, 1, fold=0), EST, GAP),
1082 (datetime(2019, 3, 10, 4, 1, fold=1), EDT, GAP),
1083 (datetime(2019, 11, 2), EDT, NORMAL),
1084 (datetime(2019, 11, 3, 1, 59, fold=1), EDT, NORMAL),
1085 (datetime(2019, 11, 3, 2, 0, fold=0), EDT, FOLD),
1086 (datetime(2019, 11, 3, 2, 0, fold=1), EST, FOLD),
1087 (datetime(2020, 3, 8, 3, 59), EST, NORMAL),
1088 (datetime(2020, 3, 8, 4, 0, fold=0), EST, GAP),
1089 (datetime(2020, 3, 8, 4, 0, fold=1), EDT, GAP),
1090 (datetime(2020, 11, 1, 1, 59, fold=1), EDT, NORMAL),
1091 (datetime(2020, 11, 1, 2, 0, fold=0), EDT, FOLD),
1092 (datetime(2020, 11, 1, 2, 0, fold=1), EST, FOLD),
1105 (datetime(2019, 3, 30), GMT, NORMAL),
1106 (datetime(2019, 3, 31, 0, 59), GMT, NORMAL),
1107 (datetime(2019, 3, 31, 2, 0), BST, NORMAL),
1108 (datetime(2019, 10, 26), BST, NORMAL),
1109 (datetime(2019, 10, 27, 0, 59, fold=1), BST, NORMAL),
1110 (datetime(2019, 10, 27, 1, 0, fold=0), BST, GAP),
1111 (datetime(2019, 10, 27, 2, 0, fold=1), GMT, GAP),
1112 (datetime(2020, 3, 29, 0, 59), GMT, NORMAL),
1113 (datetime(2020, 3, 29, 2, 0), BST, NORMAL),
1114 (datetime(2020, 10, 25, 0, 59, fold=1), BST, NORMAL),
1115 (datetime(2020, 10, 25, 1, 0, fold=0), BST, FOLD),
1116 (datetime(2020, 10, 25, 2, 0, fold=1), GMT, NORMAL),
1128 (datetime(2019, 4, 6), AEDT, NORMAL),
1129 (datetime(2019, 4, 7, 1, 59), AEDT, NORMAL),
1130 (datetime(2019, 4, 7, 1, 59, fold=1), AEDT, NORMAL),
1131 (datetime(2019, 4, 7, 2, 0, fold=0), AEDT, FOLD),
1132 (datetime(2019, 4, 7, 2, 1, fold=0), AEDT, FOLD),
1133 (datetime(2019, 4, 7, 2, 0, fold=1), AEST, FOLD),
1134 (datetime(2019, 4, 7, 2, 1, fold=1), AEST, FOLD),
1135 (datetime(2019, 4, 7, 3, 0, fold=0), AEST, NORMAL),
1136 (datetime(2019, 4, 7, 3, 0, fold=1), AEST, NORMAL),
1137 (datetime(2019, 10, 5, 0), AEST, NORMAL),
1138 (datetime(2019, 10, 6, 1, 59), AEST, NORMAL),
1139 (datetime(2019, 10, 6, 2, 0, fold=0), AEST, GAP),
1140 (datetime(2019, 10, 6, 2, 0, fold=1), AEDT, GAP),
1141 (datetime(2019, 10, 6, 3, 0), AEDT, NORMAL),
1153 (datetime(2019, 3, 30), GMT, NORMAL),
1154 (datetime(2019, 3, 31, 0, 59), GMT, NORMAL),
1155 (datetime(2019, 3, 31, 2, 0), IST, NORMAL),
1156 (datetime(2019, 10, 26), IST, NORMAL),
1157 (datetime(2019, 10, 27, 0, 59, fold=1), IST, NORMAL),
1158 (datetime(2019, 10, 27, 1, 0, fold=0), IST, FOLD),
1159 (datetime(2019, 10, 27, 1, 0, fold=1), GMT, FOLD),
1160 (datetime(2019, 10, 27, 2, 0, fold=1), GMT, NORMAL),
1161 (datetime(2020, 3, 29, 0, 59), GMT, NORMAL),
1162 (datetime(2020, 3, 29, 2, 0), IST, NORMAL),
1163 (datetime(2020, 10, 25, 0, 59, fold=1), IST, NORMAL),
1164 (datetime(2020, 10, 25, 1, 0, fold=0), IST, FOLD),
1165 (datetime(2020, 10, 25, 2, 0, fold=1), GMT, NORMAL),
1175 datetime(2020, 1, 1),
1190 (datetime(2020, 5, 1), M04, NORMAL),
1191 (datetime(2020, 11, 1), M03, NORMAL),
1203 (datetime(2019, 1, 1), EDT, NORMAL),
1204 (datetime(2019, 6, 1), EDT, NORMAL),
1205 (datetime(2019, 12, 31, 23, 59, 59, 999999), EDT, NORMAL),
1206 (datetime(2020, 1, 1), EDT, NORMAL),
1207 (datetime(2020, 3, 1), EDT, NORMAL),
1208 (datetime(2020, 6, 1), EDT, NORMAL),
1209 (datetime(2020, 12, 31, 23, 59, 59, 999999), EDT, NORMAL),
1210 (datetime(2400, 1, 1), EDT, NORMAL),
1211 (datetime(2400, 3, 1), EDT, NORMAL),
1212 (datetime(2400, 12, 31, 23, 59, 59, 999999), EDT, NORMAL),
1224 (datetime(2019, 1, 1), AAA, NORMAL),
1225 (datetime(2019, 2, 28), AAA, NORMAL),
1226 (datetime(2019, 3, 1, 11, 59), AAA, NORMAL),
1227 (datetime(2019, 3, 1, 12, fold=0), AAA, GAP),
1228 (datetime(2019, 3, 1, 12, fold=1), BBB, GAP),
1229 (datetime(2019, 3, 1, 13), BBB, NORMAL),
1230 (datetime(2019, 11, 1, 10, 59), BBB, NORMAL),
1231 (datetime(2019, 11, 1, 11, fold=0), BBB, FOLD),
1232 (datetime(2019, 11, 1, 11, fold=1), AAA, FOLD),
1233 (datetime(2019, 11, 1, 12), AAA, NORMAL),
1234 (datetime(2019, 12, 31, 23, 59, 59, 999999), AAA, NORMAL),
1235 (datetime(2020, 1, 1), AAA, NORMAL),
1236 (datetime(2020, 2, 29), AAA, NORMAL),
1237 (datetime(2020, 3, 1, 11, 59), AAA, NORMAL),
1238 (datetime(2020, 3, 1, 12, fold=0), AAA, GAP),
1239 (datetime(2020, 3, 1, 12, fold=1), BBB, GAP),
1240 (datetime(2020, 3, 1, 13), BBB, NORMAL),
1241 (datetime(2020, 11, 1, 10, 59), BBB, NORMAL),
1242 (datetime(2020, 11, 1, 11, fold=0), BBB, FOLD),
1243 (datetime(2020, 11, 1, 11, fold=1), AAA, FOLD),
1244 (datetime(2020, 11, 1, 12), AAA, NORMAL),
1245 (datetime(2020, 12, 31, 23, 59, 59, 999999), AAA, NORMAL),
1260 (datetime(2020, 3, 27), N03, NORMAL),
1261 (datetime(2020, 3, 28, 21, 59, 59), N03, NORMAL),
1262 (datetime(2020, 3, 28, 22, fold=0), N03, GAP),
1263 (datetime(2020, 3, 28, 22, fold=1), N02, GAP),
1264 (datetime(2020, 3, 28, 23), N02, NORMAL),
1265 (datetime(2020, 10, 24, 21), N02, NORMAL),
1266 (datetime(2020, 10, 24, 22, fold=0), N02, FOLD),
1267 (datetime(2020, 10, 24, 22, fold=1), N03, FOLD),
1268 (datetime(2020, 10, 24, 23), N03, NORMAL),
1280 (datetime(2012, 3, 11, 1, 0), AAA, NORMAL),
1281 (datetime(2012, 3, 11, 1, 30, fold=0), AAA, GAP),
1282 (datetime(2012, 3, 11, 1, 30, fold=1), BBB, GAP),
1283 (datetime(2012, 3, 11, 2, 30), BBB, NORMAL),
1284 (datetime(2012, 11, 4, 1, 15, 44, 999999), BBB, NORMAL),
1285 (datetime(2012, 11, 4, 1, 15, 45, fold=0), BBB, FOLD),
1286 (datetime(2012, 11, 4, 1, 15, 45, fold=1), AAA, FOLD),
1287 (datetime(2012, 11, 4, 2, 15, 45), AAA, NORMAL),
1804 transition: datetime
1943 ZoneTransition(datetime(1912, 1, 1), LMT, GMT),
1954 ZoneTransition(datetime(2018, 3, 25, 2), P00_s, P01_d),
1955 ZoneTransition(datetime(2018, 5, 13, 3), P01_d, P00_s),
1956 ZoneTransition(datetime(2018, 6, 17, 2), P00_s, P01_d),
1959 ZoneTransition(datetime(2018, 10, 28, 3), P01_d, P01_s),
1960 ZoneTransition(datetime(2019, 5, 5, 3), P01_s, P00_d),
1961 ZoneTransition(datetime(2019, 6, 9, 2), P00_d, P01_s),
1972 ZoneTransition(datetime(1883, 11, 18, 12, 7, 2), LMT, PST),
1973 ZoneTransition(datetime(1918, 3, 31, 2), PST, PDT),
1974 ZoneTransition(datetime(1918, 3, 31, 2), PST, PDT),
1975 ZoneTransition(datetime(1918, 10, 27, 2), PDT, PST),
1977 ZoneTransition(datetime(1942, 2, 9, 2), PST, PWT),
1979 ZoneTransition(datetime(1945, 8, 14, 16), PWT, PPT),
1980 ZoneTransition(datetime(1945, 9, 30, 2), PPT, PST),
1981 ZoneTransition(datetime(2015, 3, 8, 2), PST, PDT),
1982 ZoneTransition(datetime(2015, 11, 1, 2), PDT, PST),
1984 ZoneTransition(datetime(2450, 3, 13, 2), PST, PDT),
1985 ZoneTransition(datetime(2450, 11, 6, 2), PDT, PST),
1996 ZoneTransition(datetime(1890, 1, 1), LMT, SMT),
1997 ZoneTransition(datetime(1910, 1, 10), SMT, N05),
1998 ZoneTransition(datetime(1916, 7, 1), N05, SMT),
1999 ZoneTransition(datetime(2008, 3, 30), N03, N04),
2000 ZoneTransition(datetime(2008, 10, 12), N04, N03),
2001 ZoneTransition(datetime(2040, 4, 8), N03, N04),
2002 ZoneTransition(datetime(2040, 9, 2), N04, N03),
2013 ZoneTransition(datetime(1948, 5, 2), JST, JDT),
2014 ZoneTransition(datetime(1948, 9, 12, 1), JDT, JST),
2015 ZoneTransition(datetime(1951, 9, 9, 1), JDT, JST),
2024 ZoneTransition(datetime(1895, 2, 1), LMT, AEST),
2025 ZoneTransition(datetime(1917, 1, 1, 0, 1), AEST, AEDT),
2026 ZoneTransition(datetime(1917, 3, 25, 2), AEDT, AEST),
2027 ZoneTransition(datetime(2012, 4, 1, 3), AEDT, AEST),
2028 ZoneTransition(datetime(2012, 10, 7, 2), AEST, AEDT),
2029 ZoneTransition(datetime(2040, 4, 1, 3), AEDT, AEST),
2030 ZoneTransition(datetime(2040, 10, 7, 2), AEST, AEDT),
2043 ZoneTransition(datetime(1880, 8, 2, 0), LMT, DMT),
2044 ZoneTransition(datetime(1916, 5, 21, 2), DMT, IST_0),
2045 ZoneTransition(datetime(1916, 10, 1, 3), IST_0, GMT_0),
2046 ZoneTransition(datetime(1917, 4, 8, 2), GMT_0, BST),
2047 ZoneTransition(datetime(2016, 3, 27, 1), GMT_1, IST_1),
2048 ZoneTransition(datetime(2016, 10, 30, 2), IST_1, GMT_1),
2049 ZoneTransition(datetime(2487, 3, 30, 1), GMT_1, IST_1),
2050 ZoneTransition(datetime(2487, 10, 26, 2), IST_1, GMT_1),
2060 ZoneTransition(datetime(1992, 3, 29, 1), WET, WEST),
2061 ZoneTransition(datetime(1992, 9, 27, 2), WEST, CET),
2062 ZoneTransition(datetime(1993, 3, 28, 2), CET, CEST),
2063 ZoneTransition(datetime(1993, 9, 26, 3), CEST, CET),
2064 ZoneTransition(datetime(1996, 3, 31, 2), CET, WEST),
2065 ZoneTransition(datetime(1996, 10, 27, 2), WEST, WET),
2074 ZoneTransition(datetime(1847, 12, 1), LMT, GMT),
2075 ZoneTransition(datetime(2005, 3, 27, 1), GMT, BST),
2076 ZoneTransition(datetime(2005, 10, 30, 2), BST, GMT),
2077 ZoneTransition(datetime(2043, 3, 29, 1), GMT, BST),
2078 ZoneTransition(datetime(2043, 10, 25, 2), BST, GMT),
2089 ZoneTransition(datetime(1901, 1, 1), LMT, N1040),
2090 ZoneTransition(datetime(1979, 10, 1), N1040, N10),
2092 ZoneTransition(datetime(1994, 12, 31), N10, P14),