/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 | 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/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 | 52 public static Timestamp ToTimestamp(this DateTime dateTime) in ToTimestamp() argument 54 return Timestamp.FromDateTime(dateTime); in ToTimestamp()
|
/external/pdfium/fpdfsdk/ |
D | fpdfattachment.cpp | 233 CFX_DateTime dateTime = CFX_DateTime::Now(); in FPDFAttachment_SetFile() local 236 ByteString::Format("D:%d%02d%02d%02d%02d%02d", dateTime.GetYear(), in FPDFAttachment_SetFile() 237 dateTime.GetMonth(), dateTime.GetDay(), in FPDFAttachment_SetFile() 238 dateTime.GetHour(), dateTime.GetMinute(), in FPDFAttachment_SetFile() 239 dateTime.GetSecond()), in FPDFAttachment_SetFile()
|
/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/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/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/skia/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/nos/host/android/hals/keymaster/ |
D | proto_utils.cpp | 489 pb->set_long_integer(param.f.dateTime); in key_parameter_to_pb() 493 pb->set_long_integer(param.f.dateTime); in key_parameter_to_pb() 529 pb->set_long_integer(param.f.dateTime); in key_parameter_to_pb() 656 kp->f.dateTime = param.long_integer(); in pb_to_key_parameter() 697 kp->f.dateTime = param.long_integer(); in pb_to_key_parameter()
|
D | KeymasterDevice.cpp | 697 Tag::ACTIVE_DATETIME)->second[0].f.dateTime; in attestKey() 701 Tag::CREATION_DATETIME)->second[0].f.dateTime; in attestKey() 708 Tag::USAGE_EXPIRE_DATETIME)->second[0].f.dateTime; in attestKey()
|
/external/syzkaller/vendor/github.com/golang/protobuf/ptypes/timestamp/ |
D | timestamp.proto | 116 // can use the Joda Time's [`ISODateTimeFormat.dateTime()`]( 117 // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--)
|
/external/golang-protobuf/ptypes/timestamp/ |
D | timestamp.proto | 118 // can use the Joda Time's [`ISODateTimeFormat.dateTime()`]( 119 // http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
|
/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/cldr/tools/java/org/unicode/cldr/test/ |
D | CheckDates.java | 865 dateOrTime = DateOrTime.dateTime; in checkPattern() 874 if (dateOrTime == DateOrTime.dateTime) { in checkPattern() 929 date, time, dateTime enumConstant 994 if (dateOrTime == DateOrTime.dateTime) { in checkValue()
|
/external/icu/icu4c/source/i18n/ |
D | ucal.cpp | 397 UDate dateTime, in ucal_setMillis() argument 402 ((Calendar*)cal)->setTime(dateTime, *status); in ucal_setMillis()
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | JsonParser.cs | 793 var dateTime = match.Groups["datetime"].Value; in MergeTimestamp() 800 dateTime, in MergeTimestamp()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | ucal.h | 1027 UDate dateTime,
|
/external/icu/libandroidicu/include/unicode/ |
D | ucal.h | 1027 UDate dateTime,
|
/external/libxml2/ |
D | xmlschemastypes.c | 1565 const xmlChar *dateTime, xmlSchemaValPtr *val, in xmlSchemaValidateDates() argument 1569 const xmlChar *cur = dateTime; in xmlSchemaValidateDates() 1582 if (dateTime == NULL) in xmlSchemaValidateDates() 1678 cur = dateTime; in xmlSchemaValidateDates()
|
/external/cldr/tools/java/org/unicode/cldr/util/data/ |
D | PathHeader.txt | 90 …ype="%A"] ; DateTime ; &calendar($1) ; &calField(Formats:Standard:dateTime) ; $2 ; LTR_ALWAYS 91 …="%A"] ; Special ; Suppress ; &calendar($1) ; &calField(Formats:Standard:dateTime)-$2 ; HIDE
|
/external/cldr/tools/java/org/unicode/cldr/icu/ |
D | ldml2icu_locale.txt | 112 //ldml/dates/calendars/calendar[@type="(%A)"]/((date|time|dateTime)Format)s/\2Length[@type="(%A)"]/…
|