• Home
  • Raw
  • Download

Lines Matching refs:date

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()
96 let date: String = s.get("ron_datetime").unwrap(); in test_datetime_string() localVariable
98 assert_eq!(&date, "2021-04-19T11:33:02Z"); in test_datetime_string()
106 let date: DateTime<Utc> = s.get("json_datetime").unwrap(); in test_datetime() localVariable
108 assert_eq!(date, Utc.ymd(2017, 5, 10).and_hms(2, 14, 53)); in test_datetime()
111 let date: DateTime<Utc> = s.get("toml_datetime").unwrap(); in test_datetime() localVariable
113 assert_eq!(date, Utc.ymd(2017, 5, 11).and_hms(14, 55, 15)); in test_datetime()
116 let date: DateTime<Utc> = s.get("yaml_datetime").unwrap(); in test_datetime() localVariable
118 assert_eq!(date, Utc.ymd(2017, 6, 12).and_hms(10, 58, 30)); in test_datetime()
121 let date: DateTime<Utc> = s.get("hjson_datetime").unwrap(); in test_datetime() localVariable
123 assert_eq!(date, Utc.ymd(2017, 5, 10).and_hms(2, 14, 53)); in test_datetime()
126 let date: DateTime<Utc> = s.get("ini_datetime").unwrap(); in test_datetime() localVariable
128 assert_eq!(date, Utc.ymd(2017, 5, 10).and_hms(2, 14, 53)); in test_datetime()
131 let date: DateTime<Utc> = s.get("ron_datetime").unwrap(); in test_datetime() localVariable
133 assert_eq!(date, Utc.ymd(2021, 4, 19).and_hms(11, 33, 2)); in test_datetime()