Searched refs:ToTimestamp (Results 1 – 4 of 4) sorted by relevance
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | TimeExtensions.cs | 52 public static Timestamp ToTimestamp(this DateTime dateTime) in ToTimestamp() method in Google.Protobuf.WellKnownTypes.TimeExtensions 65 public static Timestamp ToTimestamp(this DateTimeOffset dateTimeOffset) in ToTimestamp() method in Google.Protobuf.WellKnownTypes.TimeExtensions
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | JsonFormatterTest.cs | 342 new DateTime(1673, 6, 19, 12, 34, 56, DateTimeKind.Utc).ToTimestamp().ToString()); in TimestampStandalone_FromDateTime() 344 new DateTime(2015, 7, 31, 10, 29, 34, DateTimeKind.Utc).ToTimestamp().ToString()); in TimestampStandalone_FromDateTime() 469 var timestamp = new DateTime(1673, 6, 19, 12, 34, 56, DateTimeKind.Utc).ToTimestamp(); in AnyWellKnownType()
|
D | JsonParserTest.cs | 843 var timestamp = new DateTime(1673, 6, 19, 12, 34, 56, DateTimeKind.Utc).ToTimestamp(); in Any_WellKnownType()
|
/external/protobuf/src/google/protobuf/util/ |
D | time_util.cc | 396 void ToTimestamp(const uint128& value, bool negative, Timestamp* timestamp) { in ToTimestamp() function
|