/external/skqp/tests/ |
D | Time.cpp | 14 SkTime::DateTime dateTime; in DEF_TEST() local 15 SkTime::GetDateTime(&dateTime); in DEF_TEST() 21 if (dateTime.fYear < kMinimumSaneYear) { in DEF_TEST() 24 static_cast<unsigned>(dateTime.fYear), in DEF_TEST() 27 if (dateTime.fYear > kMaximumSaneYear) { in DEF_TEST() 30 static_cast<unsigned>(dateTime.fYear), in DEF_TEST() 34 REPORTER_ASSERT(r, dateTime.fMonth >= 1); in DEF_TEST() 35 REPORTER_ASSERT(r, dateTime.fMonth <= 12); in DEF_TEST() 37 REPORTER_ASSERT(r, dateTime.fDay >= 1); in DEF_TEST() 38 REPORTER_ASSERT(r, dateTime.fDay <= 31); in DEF_TEST() [all …]
|
/external/skia/tests/ |
D | Time.cpp | 13 SkTime::DateTime dateTime; in DEF_TEST() local 14 SkTime::GetDateTime(&dateTime); in DEF_TEST() 20 if (dateTime.fYear < kMinimumSaneYear) { in DEF_TEST() 23 static_cast<unsigned>(dateTime.fYear), in DEF_TEST() 26 if (dateTime.fYear > kMaximumSaneYear) { in DEF_TEST() 29 static_cast<unsigned>(dateTime.fYear), in DEF_TEST() 33 REPORTER_ASSERT(r, dateTime.fMonth >= 1); in DEF_TEST() 34 REPORTER_ASSERT(r, dateTime.fMonth <= 12); in DEF_TEST() 36 REPORTER_ASSERT(r, dateTime.fDay >= 1); in DEF_TEST() 37 REPORTER_ASSERT(r, dateTime.fDay <= 31); in DEF_TEST() [all …]
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
D | ISO8601Converter.java | 309 public static String render(XMPDateTime dateTime) in render() argument 315 buffer.append(df.format(dateTime.getYear())); in render() 316 if (dateTime.getMonth() == 0) in render() 323 buffer.append(df.format(dateTime.getMonth())); in render() 324 if (dateTime.getDay() == 0) in render() 330 buffer.append(df.format(dateTime.getDay())); in render() 333 if (dateTime.getHour() != 0 || in render() 334 dateTime.getMinute() != 0 || in render() 335 dateTime.getSecond() != 0 || in render() 336 dateTime.getNanoSecond() != 0 || in render() [all …]
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
D | XMPDateTimeFactory.java | 111 public static XMPDateTime setLocalTimeZone(XMPDateTime dateTime) in setLocalTimeZone() argument 113 Calendar cal = dateTime.getCalendar(); in setLocalTimeZone() 128 public static XMPDateTime convertToUTCTime(XMPDateTime dateTime) in convertToUTCTime() argument 130 long timeInMillis = dateTime.getCalendar().getTimeInMillis(); in convertToUTCTime() 145 public static XMPDateTime convertToLocalTime(XMPDateTime dateTime) in convertToLocalTime() argument 147 long timeInMillis = dateTime.getCalendar().getTimeInMillis(); in convertToLocalTime()
|
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/ |
D | Timespec.cs | 171 public static Timespec FromDateTime(DateTime dateTime) in FromDateTime() 173 if (dateTime == DateTime.MaxValue) in FromDateTime() 178 if (dateTime == DateTime.MinValue) in FromDateTime() 183 …GrpcPreconditions.CheckArgument(dateTime.Kind == DateTimeKind.Utc, "dateTime needs of kind DateTim… in FromDateTime() 187 TimeSpan timeSpan = dateTime - UnixEpoch; in FromDateTime() 202 return dateTime > UnixEpoch ? Timespec.InfFuture : Timespec.InfPast; in FromDateTime()
|
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | TimestampPartial.cs | 146 public static Timestamp FromDateTime(DateTime dateTime) in FromDateTime() argument 148 if (dateTime.Kind != DateTimeKind.Utc) in FromDateTime() 153 long secondsSinceBclEpoch = dateTime.Ticks / TimeSpan.TicksPerSecond; in FromDateTime() 154 … int nanoseconds = (int) (dateTime.Ticks % TimeSpan.TicksPerSecond) * Duration.NanosecondsPerTick; in FromDateTime() 204 DateTime dateTime = UnixEpoch.AddSeconds(seconds); in ToJson() 207 … builder.Append(dateTime.ToString("yyyy'-'MM'-'dd'T'HH:mm:ss", CultureInfo.InvariantCulture)); in ToJson()
|
D | TimeExtensions.cs | 48 public static Timestamp ToTimestamp(this DateTime dateTime) in ToTimestamp() argument 50 return Timestamp.FromDateTime(dateTime); in ToTimestamp()
|
/external/pdfium/fpdfsdk/ |
D | fpdf_attachment.cpp | 239 CFX_DateTime dateTime = CFX_DateTime::Now(); in FPDFAttachment_SetFile() local 242 ByteString::Format("D:%d%02d%02d%02d%02d%02d", dateTime.GetYear(), in FPDFAttachment_SetFile() 243 dateTime.GetMonth(), dateTime.GetDay(), in FPDFAttachment_SetFile() 244 dateTime.GetHour(), dateTime.GetMinute(), in FPDFAttachment_SetFile() 245 dateTime.GetSecond()), in FPDFAttachment_SetFile()
|
/external/caliper/caliper/src/main/java/com/google/caliper/json/ |
D | InstantTypeAdapter.java | 33 out.value(ISODateTimeFormat.dateTime().print(value)); in write() 37 return ISODateTimeFormat.dateTime().parseDateTime(in.nextString()).toInstant(); in read()
|
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/ |
D | TimestampTest.cs | 87 private static void AssertRoundtrip(Timestamp timestamp, DateTime dateTime) in AssertRoundtrip() argument 89 Assert.AreEqual(timestamp, Timestamp.FromDateTime(dateTime)); in AssertRoundtrip() 90 Assert.AreEqual(dateTime, timestamp.ToDateTime()); in AssertRoundtrip()
|
/external/skia/src/pdf/ |
D | SkPDFMetadata.cpp | 146 SkTime::DateTime dateTime; in CreateUUID() local 147 SkTime::GetDateTime(&dateTime); in CreateUUID() 148 md5.write(&dateTime, sizeof(dateTime)); in CreateUUID()
|
/external/skqp/src/pdf/ |
D | SkPDFMetadata.cpp | 161 SkTime::DateTime dateTime; in CreateUUID() local 162 SkTime::GetDateTime(&dateTime); in CreateUUID() 163 md5.write(&dateTime, sizeof(dateTime)); in CreateUUID()
|
/external/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/ |
D | TimestampTest.cs | 87 private static void AssertRoundtrip(Timestamp timestamp, DateTime dateTime) in AssertRoundtrip() argument 89 Assert.AreEqual(timestamp, Timestamp.FromDateTime(dateTime)); in AssertRoundtrip() 90 Assert.AreEqual(dateTime, timestamp.ToDateTime()); in AssertRoundtrip()
|
/external/libxml2/fuzz/ |
D | schema.dict | 15 type_date_time=" type='xs:dateTime'"
|
/external/protobuf/src/google/protobuf/ |
D | timestamp.proto | 122 // the Joda Time's [`ISODateTimeFormat.dateTime()`]( 123 // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
|
/external/golang-protobuf/ptypes/timestamp/ |
D | timestamp.proto | 122 // the Joda Time's [`ISODateTimeFormat.dateTime()`]( 123 // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
|
/external/sonivox/jet_tools/JetCreator/ |
D | JetUtils.py | 638 dateTime = FileDateTime(segment.filename) 639 if ver != savedVer or dateTime != savedDateTime: 643 IniSetValue(JetDefs.JETMIDIFILES_INI, segment.filename, "DateTime", str(dateTime))
|
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/ |
D | Util.java | 1089 Calendar dateTime = new GregorianCalendar(TimeZone.getTimeZone("GMT")); in parseXsDateTime() local 1091 dateTime.clear(); in parseXsDateTime() 1093 dateTime.set(Integer.parseInt(matcher.group(1)), in parseXsDateTime() 1102 dateTime.set(Calendar.MILLISECOND, bd.movePointRight(3).intValue()); in parseXsDateTime() 1105 long time = dateTime.getTimeInMillis(); in parseXsDateTime()
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | CheckDates.java | 787 dateOrTime = DateOrTime.dateTime; in checkPattern() 796 if (dateOrTime == DateOrTime.dateTime) { in checkPattern() 851 date, time, dateTime enumConstant 916 if (dateOrTime == DateOrTime.dateTime) { in checkValue()
|
/external/icu/libandroidicu/include/unicode/ |
D | ucal.h | 1072 UDate dateTime,
|
/external/icu/libicu/cts_headers/unicode/ |
D | ucal.h | 1072 UDate dateTime,
|
/external/icu/icu4c/source/i18n/unicode/ |
D | ucal.h | 1072 UDate dateTime,
|
/external/icu/icu4c/source/i18n/ |
D | ucal.cpp | 421 UDate dateTime, in ucal_setMillis() argument 426 ((Calendar*)cal)->setTime(dateTime, *status); in ucal_setMillis()
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | JsonParser.cs | 799 var dateTime = match.Groups["datetime"].Value; in MergeTimestamp() 806 dateTime, in MergeTimestamp()
|
/external/libcups/examples/ |
D | get-printer-attributes-suite.test | 51 EXPECT ?printer-current-time OF-TYPE dateTime|unknown COUNT 1 IN-GROUP printer-attributes-tag 133 EXPECT ?printer-current-time OF-TYPE dateTime|unknown COUNT 1 IN-GROUP printer-attributes-tag 215 EXPECT ?printer-current-time OF-TYPE dateTime|unknown COUNT 1 IN-GROUP printer-attributes-tag 461 EXPECT ?printer-current-time OF-TYPE dateTime|unknown COUNT 1 IN-GROUP printer-attributes-tag
|