Home
last modified time | relevance | path

Searched refs:ToTimestamp (Results 1 – 4 of 4) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DTimeExtensions.cs52 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/
DJsonFormatterTest.cs342 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()
DJsonParserTest.cs843 var timestamp = new DateTime(1673, 6, 19, 12, 34, 56, DateTimeKind.Utc).ToTimestamp(); in Any_WellKnownType()
/external/protobuf/src/google/protobuf/util/
Dtime_util.cc396 void ToTimestamp(const uint128& value, bool negative, Timestamp* timestamp) { in ToTimestamp() function