Home
last modified time | relevance | path

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

/external/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.cs54 return Timestamp.FromDateTime(dateTime); in ToTimestamp()
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DTimestampTest.cs89 Assert.AreEqual(timestamp, Timestamp.FromDateTime(dateTime)); in AssertRoundtrip()
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs646 …var list = new RepeatedField<Timestamp> { Timestamp.FromDateTime(new DateTime(2015, 10, 1, 12, 34,… in ToString_Timestamp()
/external/protobuf/csharp/src/Google.Protobuf/
DJsonParser.cs805 Timestamp timestamp = Timestamp.FromDateTime(parsed); in MergeTimestamp()