Home
last modified time | relevance | path

Searched refs:FromDateTime (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/time/
Dtime_test.cc1181 t = absl::FromDateTime(std::numeric_limits<absl::civil_year_t>::max(), kMax, in TEST()
1185 t = absl::FromDateTime(std::numeric_limits<absl::civil_year_t>::min(), kMin, in TEST()
1191 t = absl::FromDateTime(2015, 1, 1, 0, 0, 60, utc); in TEST()
1193 t = absl::FromDateTime(2015, 1, 1, 0, 60, 0, utc); in TEST()
1195 t = absl::FromDateTime(2015, 1, 1, 24, 0, 0, utc); in TEST()
1197 t = absl::FromDateTime(2015, 1, 32, 0, 0, 0, utc); in TEST()
1199 t = absl::FromDateTime(2015, 13, 1, 0, 0, 0, utc); in TEST()
1201 t = absl::FromDateTime(2015, 13, 32, 60, 60, 60, utc); in TEST()
1203 t = absl::FromDateTime(2015, 1, 1, 0, 0, -1, utc); in TEST()
1205 t = absl::FromDateTime(2015, 1, 1, 0, -1, 0, utc); in TEST()
[all …]
Dtime.h1223 inline Time FromDateTime(int64_t year, int mon, int day, int hour, in FromDateTime() function
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DTimestampPartial.cs146 public static Timestamp FromDateTime(DateTime dateTime) in FromDateTime() method in Google.Protobuf.WellKnownTypes.Timestamp
170 return FromDateTime(dateTimeOffset.UtcDateTime); in FromDateTimeOffset()
DTimeExtensions.cs50 return Timestamp.FromDateTime(dateTime); in ToTimestamp()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/
DTimestampTest.cs89 Assert.AreEqual(timestamp, Timestamp.FromDateTime(dateTime)); in AssertRoundtrip()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DTimestampTest.cs89 Assert.AreEqual(timestamp, Timestamp.FromDateTime(dateTime)); in AssertRoundtrip()
/third_party/protobuf/csharp/src/Google.Protobuf/
DJsonParser.cs824 Timestamp timestamp = Timestamp.FromDateTime(parsed); in MergeTimestamp()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs732 …var list = new RepeatedField<Timestamp> { Timestamp.FromDateTime(new DateTime(2015, 10, 1, 12, 34,… in ToString_Timestamp()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs822 …var list = new RepeatedField<Timestamp> { Timestamp.FromDateTime(new DateTime(2015, 10, 1, 12, 34,… in ToString_Timestamp()