Searched refs:FromDateTime (Results 1 – 5 of 5) sorted by relevance
146 public static Timestamp FromDateTime(DateTime dateTime) in FromDateTime() method in Google.Protobuf.WellKnownTypes.Timestamp170 return FromDateTime(dateTimeOffset.UtcDateTime); in FromDateTimeOffset()
54 return Timestamp.FromDateTime(dateTime); in ToTimestamp()
89 Assert.AreEqual(timestamp, Timestamp.FromDateTime(dateTime)); in AssertRoundtrip()
646 …var list = new RepeatedField<Timestamp> { Timestamp.FromDateTime(new DateTime(2015, 10, 1, 12, 34,… in ToString_Timestamp()
805 Timestamp timestamp = Timestamp.FromDateTime(parsed); in MergeTimestamp()