Home
last modified time | relevance | path

Searched refs:dotNetDateTimeTicks (Results 1 – 3 of 3) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timescale/
DTimeScaleDataTest.java134 static private final long dotNetDateTimeTicks[] = { field in TimeScaleDataTest
234 for(i = 0; i < dotNetDateTimeTicks.length; i += kIncrement) { in TestDotNet()
236 …millis = UniversalTimeScale.toLong(dotNetDateTimeTicks[i + kTicks], UniversalTimeScale.ICU4C_TIME); in TestDotNet()
238 cal.set((int)dotNetDateTimeTicks[i + kYear], in TestDotNet()
239 … (int)dotNetDateTimeTicks[i + kMonth] - 1, /* Java & ICU use January = month 0. */ in TestDotNet()
240 (int)dotNetDateTimeTicks[i + kDay]); in TestDotNet()
246 "=ucal_getMillis(" + dotNetDateTimeTicks[i + kYear] + in TestDotNet()
247 "-" + dotNetDateTimeTicks[i + kMonth] + in TestDotNet()
248 "-" + dotNetDateTimeTicks[i + kDay] + ")"); in TestDotNet()
253 if(ticks != dotNetDateTimeTicks[i + kTicks]) { in TestDotNet()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/
DTimeScaleDataTest.java133 static private final long dotNetDateTimeTicks[] = { field in TimeScaleDataTest
233 for(i = 0; i < dotNetDateTimeTicks.length; i += kIncrement) { in TestDotNet()
235 …millis = UniversalTimeScale.toLong(dotNetDateTimeTicks[i + kTicks], UniversalTimeScale.ICU4C_TIME); in TestDotNet()
237 cal.set((int)dotNetDateTimeTicks[i + kYear], in TestDotNet()
238 … (int)dotNetDateTimeTicks[i + kMonth] - 1, /* Java & ICU use January = month 0. */ in TestDotNet()
239 (int)dotNetDateTimeTicks[i + kDay]); in TestDotNet()
245 "=ucal_getMillis(" + dotNetDateTimeTicks[i + kYear] + in TestDotNet()
246 "-" + dotNetDateTimeTicks[i + kMonth] + in TestDotNet()
247 "-" + dotNetDateTimeTicks[i + kDay] + ")"); in TestDotNet()
252 if(ticks != dotNetDateTimeTicks[i + kTicks]) { in TestDotNet()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dutmstest.c364 static const DotNetDateTimeTicks dotNetDateTimeTicks[]={ variable
465 for(i = 0; i < UPRV_LENGTHOF(dotNetDateTimeTicks); ++i) { in TestDotNet()
467 dt = dotNetDateTimeTicks + i; in TestDotNet()