Home
last modified time | relevance | path

Searched refs:getTimeInMillis (Results 1 – 25 of 89) sorted by relevance

1234

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DCalendar.java1353 public long getTimeInMillis() { in getTimeInMillis() method in Calendar
1354 return calendar.getTimeInMillis(); in getTimeInMillis()
1532 thatMs = ((Calendar)that).getTimeInMillis(); in compare()
1538 return getTimeInMillis() - thatMs; in compare()
1923 long startMs = getTimeInMillis(); in fieldDifference()
1937 long ms = getTimeInMillis(); in fieldDifference()
1955 long ms = getTimeInMillis(); in fieldDifference()
1978 long ms = getTimeInMillis(); in fieldDifference()
1996 long ms = getTimeInMillis(); in fieldDifference()
/external/testng/src/main/java/org/testng/junit/
DJUnit4TestRunner.java121 tr.setEndMillis(Calendar.getInstance().getTimeInMillis());
138 tr.setEndMillis(Calendar.getInstance().getTimeInMillis());
151 tr.setEndMillis(Calendar.getInstance().getTimeInMillis());
197 Calendar.getInstance().getTimeInMillis(),
DJUnitTestRunner.java70 m_tests.put(test, new TestRunInfo(Calendar.getInstance().getTimeInMillis())); in startTest()
126 … Calendar.getInstance().getTimeInMillis(), in recordResults()
/external/testng/src/test/java/test/tmp/
DTimeBombTest.java15 long now = Calendar.getInstance().getTimeInMillis(); in timeBomb()
27 return result.getTimeInMillis(); in parseTime()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DCalendarICU.java78 long thisMillis = getTimeInMillis(); in compareTo()
79 long otherMillis = anotherCalendar.getTimeInMillis(); in compareTo()
191 public long getTimeInMillis() { in getTimeInMillis() method in CalendarICU
193 return fIcuCal.getTimeInMillis(); in getTimeInMillis()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/
DEpochOffsets.java92 long universalEpoch = cal.getTimeInMillis(); in main()
99 long millis = cal.getTimeInMillis(); in main()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/
DXMPDateTimeFactory.java130 long timeInMillis = dateTime.getCalendar().getTimeInMillis(); in convertToUTCTime()
147 long timeInMillis = dateTime.getCalendar().getTimeInMillis(); in convertToLocalTime()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue49/
DCalendarTest.java96 assertEquals(bean.getCalendar().getTimeInMillis(), parsed.getCalendar().getTimeInMillis()); in check()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDateUtilsTest.java77 long today = java.util.Calendar.getInstance().getTimeInMillis(); in isToday_shouldReturnFalseForNotToday()
91 return calendar.getTimeInMillis(); in getMillisAtStartOfYear()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DChineseTest.java162 cal.setTimeInMillis(greg.getTimeInMillis()); in TestZeroDOM()
740 chineseCalendar2.setTimeInMillis(gregorianCalendar.getTimeInMillis()); in Test6510()
743 if (chineseCalendar.getTimeInMillis() != chineseCalendar2.getTimeInMillis()) in Test6510()
745 errln("time1: " + chineseCalendar.getTimeInMillis()); in Test6510()
746 errln("time2: " + chineseCalendar2.getTimeInMillis()); in Test6510()
DDataDrivenCalendarTest.java284 if(toCalendar.getTimeInMillis()==toDate) { in testOps()
294 toCalendar.getTimeInMillis() + " expected " + in testOps()
298 toCalendar.getTimeInMillis() + " expected " + in testOps()
DCalendarTestFmwk.java259 cal.setTimeInMillis(greg.getTimeInMillis()); in doLimitsTest()
433 cal.get(Calendar.DATE) + " (" + day + ", time=" + cal.getTimeInMillis() + ")"; in ymdToString()
437 " (" + day + ", time=" + cal.getTimeInMillis() + ")"; in ymdToString()
DIslamicTest.java896 long mapDate = gregCal.getTimeInMillis(); in TestIslamicUmAlQura()
921 logln("getMillis: "+tstCalendar.getTimeInMillis()); in TestSerialization8449()
925 long gotMillis = tstCalendar.getTimeInMillis(); in TestSerialization8449()
943 long gotMillis = tstCalendar.getTimeInMillis(); in TestSerialization8449()
955 long gotMillis = tstCalendar.getTimeInMillis(); in TestSerialization8449()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DChineseTest.java165 cal.setTimeInMillis(greg.getTimeInMillis()); in TestZeroDOM()
743 chineseCalendar2.setTimeInMillis(gregorianCalendar.getTimeInMillis()); in Test6510()
746 if (chineseCalendar.getTimeInMillis() != chineseCalendar2.getTimeInMillis()) in Test6510()
748 errln("time1: " + chineseCalendar.getTimeInMillis()); in Test6510()
749 errln("time2: " + chineseCalendar2.getTimeInMillis()); in Test6510()
DDataDrivenCalendarTest.java287 if(toCalendar.getTimeInMillis()==toDate) { in testOps()
297 toCalendar.getTimeInMillis() + " expected " + in testOps()
301 toCalendar.getTimeInMillis() + " expected " + in testOps()
DCalendarTestFmwk.java262 cal.setTimeInMillis(greg.getTimeInMillis()); in doLimitsTest()
436 cal.get(Calendar.DATE) + " (" + day + ", time=" + cal.getTimeInMillis() + ")"; in ymdToString()
440 " (" + day + ", time=" + cal.getTimeInMillis() + ")"; in ymdToString()
DIslamicTest.java899 long mapDate = gregCal.getTimeInMillis(); in TestIslamicUmAlQura()
924 logln("getMillis: "+tstCalendar.getTimeInMillis()); in TestSerialization8449()
928 long gotMillis = tstCalendar.getTimeInMillis(); in TestSerialization8449()
946 long gotMillis = tstCalendar.getTimeInMillis(); in TestSerialization8449()
958 long gotMillis = tstCalendar.getTimeInMillis(); in TestSerialization8449()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateIntervalFormatTest.java1374 DateInterval interval = new DateInterval(from.getTimeInMillis(), to.getTimeInMillis()); in testGetInstance_String_DateIntervalInfo()
1390 DateInterval interval = new DateInterval(from.getTimeInMillis(), to.getTimeInMillis()); in testGetInstance_String_Locale_DateIntervalInfo()
1842 …testIntervals.add(new DateInterval(intervalStart.getTimeInMillis(), intervalEnd.getTimeInMillis())… in TestTicket11669()
1845 …testIntervals.add(new DateInterval(intervalStart.getTimeInMillis(), intervalEnd.getTimeInMillis())… in TestTicket11669()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateIntervalFormatTest.java1377 DateInterval interval = new DateInterval(from.getTimeInMillis(), to.getTimeInMillis()); in testGetInstance_String_DateIntervalInfo()
1393 DateInterval interval = new DateInterval(from.getTimeInMillis(), to.getTimeInMillis()); in testGetInstance_String_Locale_DateIntervalInfo()
1845 …testIntervals.add(new DateInterval(intervalStart.getTimeInMillis(), intervalEnd.getTimeInMillis())… in TestTicket11669()
1848 …testIntervals.add(new DateInterval(intervalStart.getTimeInMillis(), intervalEnd.getTimeInMillis())… in TestTicket11669()
/external/icu/icu4j/samples/src/com/ibm/icu/samples/util/timezone/
DBasicTimeZoneExample.java118 start = cal.getTimeInMillis(); in equivalentTransitionsExample()
123 end = cal.getTimeInMillis() - 1; in equivalentTransitionsExample()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/
DSevenZArchiveEntry.java499 final long realTime = ntfsEpoch.getTimeInMillis() + (ntfsTime / (10*1000)); in ntfsTimeToJavaTime()
513 return ((date.getTime() - ntfsEpoch.getTimeInMillis())* 1000 * 10); in javaTimeToNtfsTime()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPDateTimeImpl.java278 long d = getCalendar().getTimeInMillis() in compareTo()
279 - ((XMPDateTime) dt).getCalendar().getTimeInMillis(); in compareTo()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCalendar.java1877 return new Date( getTimeInMillis() ); in getTime()
1896 public long getTimeInMillis() { in getTimeInMillis() method in Calendar
2267 getTimeInMillis() == that.getTime().getTime(); in equals()
2316 thatMs = ((Calendar)that).getTimeInMillis(); in compare()
2322 return getTimeInMillis() - thatMs; in compare()
2754 long start = getTimeInMillis(); in roll()
3210 setTimeInMillis(getTimeInMillis() + delta); in add()
3294 long v = getTimeInMillis() - that.getTimeInMillis(); in compareTo()
3918 long startMs = getTimeInMillis(); in fieldDifference()
3932 long ms = getTimeInMillis(); in fieldDifference()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCalendar.java1952 return new Date( getTimeInMillis() ); in getTime()
1973 public long getTimeInMillis() { in getTimeInMillis() method in Calendar
2355 getTimeInMillis() == that.getTime().getTime(); in equals()
2406 thatMs = ((Calendar)that).getTimeInMillis(); in compare()
2412 return getTimeInMillis() - thatMs; in compare()
2851 long start = getTimeInMillis(); in roll()
3308 setTimeInMillis(getTimeInMillis() + delta); in add()
3395 long v = getTimeInMillis() - that.getTimeInMillis(); in compareTo()
4021 long startMs = getTimeInMillis(); in fieldDifference()
4035 long ms = getTimeInMillis(); in fieldDifference()
[all …]
/external/icu/icu4c/source/i18n/
Dcalendar.cpp1027 getTimeInMillis(status) == that.getTimeInMillis(status) && in operator ==()
1062 getTimeInMillis(status) < when.getTimeInMillis(status)); in before()
1071 getTimeInMillis(status) > when.getTimeInMillis(status)); in after()
1114 Calendar::getTimeInMillis(UErrorCode& status) const in getTimeInMillis() function in Calendar
1791 double start = getTimeInMillis(status); in roll()
2219 setTimeInMillis(getTimeInMillis(status) + delta, status); in add()
2277 double startMs = getTimeInMillis(ec); in fieldDifference()
2290 double ms = getTimeInMillis(ec); in fieldDifference()
2315 double ms = getTimeInMillis(ec); in fieldDifference()
2330 double ms = getTimeInMillis(ec); in fieldDifference()
[all …]

1234