Home
last modified time | relevance | path

Searched refs:MINUTE (Results 1 – 25 of 163) sorted by relevance

1234567

/external/libtextclassifier/native/annotator/datetime/
Dregex-parser_test.cc122 .Add(DatetimeComponent::ComponentType::MINUTE, 02) in TEST_F()
133 .Add(DatetimeComponent::ComponentType::MINUTE, 39) in TEST_F()
143 .Add(DatetimeComponent::ComponentType::MINUTE, 28) in TEST_F()
154 .Add(DatetimeComponent::ComponentType::MINUTE, 12) in TEST_F()
162 .Add(DatetimeComponent::ComponentType::MINUTE, 12) in TEST_F()
173 .Add(DatetimeComponent::ComponentType::MINUTE, 31) in TEST_F()
182 .Add(DatetimeComponent::ComponentType::MINUTE, 31) in TEST_F()
194 .Add(DatetimeComponent::ComponentType::MINUTE, 11) in TEST_F()
203 .Add(DatetimeComponent::ComponentType::MINUTE, 11) in TEST_F()
214 .Add(DatetimeComponent::ComponentType::MINUTE, 42) in TEST_F()
[all …]
Dgrammar-parser_test.cc126 .Add(DatetimeComponent::ComponentType::MINUTE, 02) in TEST_F()
137 .Add(DatetimeComponent::ComponentType::MINUTE, 39) in TEST_F()
147 .Add(DatetimeComponent::ComponentType::MINUTE, 28) in TEST_F()
159 .Add(DatetimeComponent::ComponentType::MINUTE, 31) in TEST_F()
168 .Add(DatetimeComponent::ComponentType::MINUTE, 31) in TEST_F()
180 .Add(DatetimeComponent::ComponentType::MINUTE, 11) in TEST_F()
189 .Add(DatetimeComponent::ComponentType::MINUTE, 11) in TEST_F()
200 .Add(DatetimeComponent::ComponentType::MINUTE, 42) in TEST_F()
206 .Add(DatetimeComponent::ComponentType::MINUTE, 42) in TEST_F()
214 .Add(DatetimeComponent::ComponentType::MINUTE, 42) in TEST_F()
[all …]
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/
DIntervalBucketTest.java45 private static final Duration MINUTE = Duration.create(60, 0); field in IntervalBucketTest
53 new IntervalBucket(null, MINUTE, MEAN, MEASURE_DOUBLE); in preventNullStartTime()
71 new IntervalBucket(START, MINUTE, null, MEASURE_DOUBLE); in preventNullAggregation()
77 new IntervalBucket(START, MINUTE, MEAN, null); in preventNullMeasure()
82 assertThat(new IntervalBucket(START, MINUTE, MEAN, MEASURE_DOUBLE).getTagValueAggregationMap()) in testGetTagValueAggregationMap_empty()
88 assertThat(new IntervalBucket(START, MINUTE, MEAN, MEASURE_DOUBLE).getStart()).isEqualTo(START); in testGetStart()
93 IntervalBucket bucket = new IntervalBucket(START, MINUTE, MEAN, MEASURE_DOUBLE); in testRecord()
112 new IntervalBucket(START, MINUTE, MEAN, MEASURE_DOUBLE) in testGetFraction()
120 IntervalBucket bucket = new IntervalBucket(START, MINUTE, MEAN, MEASURE_DOUBLE); in preventCallingGetFractionOnPastBuckets()
128 IntervalBucket bucket = new IntervalBucket(START, MINUTE, MEAN, MEASURE_DOUBLE); in preventCallingGetFractionOnFutureBuckets()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
DPeriodBuilderFactoryTest.java46 pbf.setAvailableUnitRange(MINUTE, MONTH); in testSetAvailableUnitRange()
51 …uals(null, p.isSet(unit), unit.ordinal() >= MONTH.ordinal() && unit.ordinal() <= MINUTE.ordinal()); in testSetAvailableUnitRange()
57 if (unit.ordinal() >= MONTH.ordinal() && unit.ordinal() <= MINUTE.ordinal()) { in testSetAvailableUnitRange()
66 pbf.setAvailableUnitRange(MONTH, MINUTE); in testSetAvailableUnitRange()
102 assertEquals("minutes", 35.501f, p.getCount(MINUTE)); in testBuilderFactoryPeriodConstruction()
108 assertEquals("minutes", 35f, p.getCount(MINUTE)); in testBuilderFactoryPeriodConstruction()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
DPeriodBuilderFactoryTest.java49 pbf.setAvailableUnitRange(MINUTE, MONTH); in testSetAvailableUnitRange()
54 …uals(null, p.isSet(unit), unit.ordinal() >= MONTH.ordinal() && unit.ordinal() <= MINUTE.ordinal()); in testSetAvailableUnitRange()
60 if (unit.ordinal() >= MONTH.ordinal() && unit.ordinal() <= MINUTE.ordinal()) { in testSetAvailableUnitRange()
69 pbf.setAvailableUnitRange(MONTH, MINUTE); in testSetAvailableUnitRange()
105 assertEquals("minutes", 35.501f, p.getCount(MINUTE)); in testBuilderFactoryPeriodConstruction()
111 assertEquals("minutes", 35f, p.getCount(MINUTE)); in testBuilderFactoryPeriodConstruction()
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateDayPeriodChart.java28 static final int MINUTE = 60 * 1000; field in GenerateDayPeriodChart
29 static final int HOUR = 60 * MINUTE;
83 DayPeriod period = info.getDayPeriod((i * 60 + 30) * MINUTE); in main()
94 System.out.print("\t" + dt.format((i * 60) * MINUTE)); in main()
96 System.out.print("\t" + dt.format((i * 60 + 30) * MINUTE)); in main()
123 System.out.print("\t" + dt.format((i * 60 + 30) * MINUTE)); in main()
160 DayPeriod period = dayPeriod.getDayPeriod((i * 60) * MINUTE); in doRow()
163 DayPeriod period = dayPeriod.getDayPeriod((i * 60 + 30) * MINUTE); in doRow()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneOffsetLocalTest.java40 final int MINUTE = 60*1000; in TestGetOffsetAroundTransition() local
43 {2006, Calendar.APRIL, 2, 1, 30, 1*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition()
45 {2006, Calendar.APRIL, 2, 2, 30, 2*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition()
47 {2006, Calendar.APRIL, 2, 3, 30, 3*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition()
48 {2006, Calendar.OCTOBER, 29, 0, 30, 0*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition()
50 {2006, Calendar.OCTOBER, 29, 1, 30, 1*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition()
52 {2006, Calendar.OCTOBER, 29, 2, 30, 2*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneOffsetLocalTest.java43 final int MINUTE = 60*1000; in TestGetOffsetAroundTransition() local
46 {2006, Calendar.APRIL, 2, 1, 30, 1*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition()
48 {2006, Calendar.APRIL, 2, 2, 30, 2*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition()
50 {2006, Calendar.APRIL, 2, 3, 30, 3*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition()
51 {2006, Calendar.OCTOBER, 29, 0, 30, 0*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition()
53 {2006, Calendar.OCTOBER, 29, 1, 30, 1*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition()
55 {2006, Calendar.OCTOBER, 29, 2, 30, 2*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition()
/external/icu/icu4c/source/test/intltest/
Dtzoffloc.cpp47 const int32_t MINUTE = 60*1000; in TestGetOffsetAroundTransition() local
50 {2006, UCAL_APRIL, 2, 1, 30, 1*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition()
52 {2006, UCAL_APRIL, 2, 2, 30, 2*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition()
54 {2006, UCAL_APRIL, 2, 3, 30, 3*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition()
55 {2006, UCAL_OCTOBER, 29, 0, 30, 0*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition()
57 {2006, UCAL_OCTOBER, 29, 1, 30, 1*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition()
59 {2006, UCAL_OCTOBER, 29, 2, 30, 2*HOUR+30*MINUTE}, in TestGetOffsetAroundTransition()
/external/libtextclassifier/native/utils/calendar/
Dcalendar_test.cc71 data.SetAbsoluteValue(DatetimeComponent::ComponentType::MINUTE, 30); in TEST_F()
139 data.SetAbsoluteValue(DatetimeComponent::ComponentType::MINUTE, 33); in TEST_F()
283 DatetimeComponent::ComponentType::MINUTE, in TEST_F()
285 in_5_minutes_parse.SetRelativeCount(DatetimeComponent::ComponentType::MINUTE, in TEST_F()
316 data.SetAbsoluteValue(DatetimeComponent::ComponentType::MINUTE, 10); in TEST_F()
333 data.SetAbsoluteValue(DatetimeComponent::ComponentType::MINUTE, 10); in TEST_F()
349 data.SetAbsoluteValue(DatetimeComponent::ComponentType::MINUTE, 10); in TEST_F()
Dcalendar-common.h79 DatetimeComponent::ComponentType::MINUTE || in HasOnlyTimeComponents()
173 if (parse_data.HasAbsoluteValue(DatetimeComponent::ComponentType::MINUTE)) { in InterpretParseData()
175 parse_data.GetFieldValue(DatetimeComponent::ComponentType::MINUTE, &minute); in InterpretParseData()
310 case DatetimeComponent::ComponentType::MINUTE: in AdjustByRelation()
/external/icu/icu4c/source/test/testdata/
Dformat.txt39 "ERA=1,YEAR=2007,MONTH=AUGUST,DATE=8,HOUR_OF_DAY=18,MINUTE=54,SECOND=0",
96 "ERA=1,YEAR=2012,MONTH=OCTOBER,DATE=8,HOUR_OF_DAY=23,MINUTE=59,SECOND=0",
104 "ERA=1,YEAR=2012,MONTH=OCTOBER,DATE=8,HOUR_OF_DAY=23,MINUTE=59,SECOND=0",
111 … "RELATIVE_ADD:DATE=-1,HOUR_OF_DAY=17,MINUTE=0,SECOND=0", // one day before now at specified time
119 "ERA=1,YEAR=2012,MONTH=OCTOBER,DATE=8,HOUR_OF_DAY=23,MINUTE=59,SECOND=0",
127 "ERA=1,YEAR=2012,MONTH=OCTOBER,DATE=8,HOUR_OF_DAY=23,MINUTE=59,SECOND=0",
135 … "RELATIVE_ADD:DATE=-1,HOUR_OF_DAY=17,MINUTE=0,SECOND=0", // one day before now at specified time
143 … "RELATIVE_ADD:DATE=-1,HOUR_OF_DAY=17,MINUTE=0,SECOND=0", // one day before now at specified time
151 "ERA=1,YEAR=2012,MONTH=OCTOBER,DATE=8,HOUR_OF_DAY=23,MINUTE=59,SECOND=0",
159 "ERA=1,YEAR=2012,MONTH=OCTOBER,DATE=8,HOUR_OF_DAY=23,MINUTE=59,SECOND=0",
[all …]
/external/opencensus-java/api/src/test/java/io/opencensus/stats/
DViewTest.java76 final View view = View.create(NAME, DESCRIPTION, MEASURE, MEAN, KEYS, Interval.create(MINUTE)); in testIntervalView()
82 assertThat(view.getWindow()).isEqualTo(Interval.create(MINUTE)); in testIntervalView()
94 View.create(NAME, DESCRIPTION, MEASURE, MEAN, KEYS, Interval.create(MINUTE)), in testViewEquals()
95 View.create(NAME, DESCRIPTION, MEASURE, MEAN, KEYS, Interval.create(MINUTE))) in testViewEquals()
161 private static final Duration MINUTE = Duration.create(60, 0); field in ViewTest
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
DTimeUnitConstants.java34 public static final TimeUnit MINUTE = TimeUnit.MINUTE; field
DTimeUnit.java52 public static final TimeUnit MINUTE = new TimeUnit("minute", 5); field in TimeUnit
72 YEAR, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND, MILLISECOND
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DTimeUnitConstants.java32 public static final TimeUnit MINUTE = TimeUnit.MINUTE; field
DTimeUnit.java50 public static final TimeUnit MINUTE = new TimeUnit("minute", 5); field in TimeUnit
70 YEAR, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND, MILLISECOND
/external/icu/android_icu4j/src/main/java/android/icu/util/
DTimeUnit.java38 return new TimeUnit[] { SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, YEAR }; in values()
52 return MINUTE; in readResolve()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DTimeUnit.java40 return new TimeUnit[] { SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, YEAR }; in values()
54 return MINUTE; in readResolve()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/asctime/
D1-1.c16 #define MINUTE 3 macro
46 time_ptr.tm_min = MINUTE; in main()
/external/ksoap2/kobjects/org/ksoap2/kobjects/isodate/
DIsoDate.java62 dd(buf, c.get(Calendar.MINUTE)); in dateToString()
94 c.set(Calendar.MINUTE, 0); in stringToDate()
109 Calendar.MINUTE, in stringToDate()
/external/cldr/tools/java/org/unicode/cldr/util/
DLenientDateParser.java52 private static final int MINUTE = 60 * SECOND; field in LenientDateParser
53 private static final int HOUR = 60 * MINUTE;
84 …private static final EnumSet<Type> timeTypes = EnumSet.of(Type.HOUR, Type.MINUTE, Type.SECOND, Typ…
86 …private static final EnumSet<Type> integerTimeTypes = EnumSet.of(Type.HOUR, Type.MINUTE, Type.SECO…
336 case MINUTE: in parse()
337 calendar.set(Calendar.MINUTE, value); in parse()
452 … ERA, YEAR, MONTH, WEEKDAY, DAY, HOUR, MINUTE, SECOND, AMPM, TIMEZONE, INTEGER, SEPARATOR, UNKNOWN; enumConstant
485 return Type.MINUTE; in getType()
617 allowsAt = value == 0 ? EnumSet.of(Type.HOUR, Type.MINUTE, Type.SECOND) in IntegerToken()
618 … : value < 12 ? EnumSet.of(Type.YEAR, Type.MONTH, Type.DAY, Type.HOUR, Type.MINUTE, Type.SECOND) in IntegerToken()
[all …]
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPDateTimeImpl.java84 this.minute = intCalendar.get(Calendar.MINUTE); in XMPDateTimeImpl()
106 this.minute = calendar.get(Calendar.MINUTE); in XMPDateTimeImpl()
323 calendar.set(Calendar.MINUTE, minute); in getCalendar()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DMeasureUnitTest.java379 MeasureUnit.MINUTE, in TestCompatible53()
419 MeasureUnit.MINUTE, in TestCompatible54()
547 MeasureUnit.MINUTE, in TestCompatible55()
679 MeasureUnit.MINUTE, in TestCompatible56()
820 MeasureUnit.MINUTE, in TestCompatible57()
965 MeasureUnit.MINUTE, in TestCompatible58()
1106 MeasureUnit.MINUTE, in TestCompatible59()
1254 MeasureUnit.MINUTE, in TestCompatible63()
1404 MeasureUnit.MINUTE, in TestCompatible64()
1573 MeasureUnit.MINUTE, in TestCompatible65()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMeasureUnitTest.java376 MeasureUnit.MINUTE, in TestCompatible53()
416 MeasureUnit.MINUTE, in TestCompatible54()
544 MeasureUnit.MINUTE, in TestCompatible55()
676 MeasureUnit.MINUTE, in TestCompatible56()
817 MeasureUnit.MINUTE, in TestCompatible57()
962 MeasureUnit.MINUTE, in TestCompatible58()
1103 MeasureUnit.MINUTE, in TestCompatible59()
1251 MeasureUnit.MINUTE, in TestCompatible63()
1401 MeasureUnit.MINUTE, in TestCompatible64()
1570 MeasureUnit.MINUTE, in TestCompatible65()
[all …]

1234567