Home
last modified time | relevance | path

Searched refs:dateTime (Results 1 – 25 of 29) sorted by relevance

12

/external/skqp/tests/
DTime.cpp14 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/
DTime.cpp14 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/
DISO8601Converter.java309 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/
DXMPDateTimeFactory.java111 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/
DTimespec.cs171 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/
DTimestampPartial.cs146 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()
DTimeExtensions.cs52 public static Timestamp ToTimestamp(this DateTime dateTime) in ToTimestamp() argument
54 return Timestamp.FromDateTime(dateTime); in ToTimestamp()
/external/pdfium/fpdfsdk/
Dfpdfattachment.cpp233 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/
DTimestampTest.cs87 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/
DInstantTypeAdapter.java33 out.value(ISODateTimeFormat.dateTime().print(value)); in write()
37 return ISODateTimeFormat.dateTime().parseDateTime(in.nextString()).toInstant(); in read()
/external/skqp/src/pdf/
DSkPDFMetadata.cpp161 SkTime::DateTime dateTime; in CreateUUID() local
162 SkTime::GetDateTime(&dateTime); in CreateUUID()
163 md5.write(&dateTime, sizeof(dateTime)); in CreateUUID()
/external/skia/src/pdf/
DSkPDFMetadata.cpp161 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/
Dproto_utils.cpp489 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()
DKeymasterDevice.cpp697 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/
Dtimestamp.proto116 // 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/
Dtimestamp.proto118 // 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/
DJetUtils.py638 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/
DCheckDates.java865 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/
Ducal.cpp397 UDate dateTime, in ucal_setMillis() argument
402 ((Calendar*)cal)->setTime(dateTime, *status); in ucal_setMillis()
/external/protobuf/csharp/src/Google.Protobuf/
DJsonParser.cs793 var dateTime = match.Groups["datetime"].Value; in MergeTimestamp()
800 dateTime, in MergeTimestamp()
/external/icu/icu4c/source/i18n/unicode/
Ducal.h1027 UDate dateTime,
/external/icu/libandroidicu/include/unicode/
Ducal.h1027 UDate dateTime,
/external/libxml2/
Dxmlschemastypes.c1565 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/
DPathHeader.txt90 …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/
Dldml2icu_locale.txt112 //ldml/dates/calendars/calendar[@type="(%A)"]/((date|time|dateTime)Format)s/\2Length[@type="(%A)"]/…

12