Home
last modified time | relevance | path

Searched refs:milliseconds (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/main/java/javax/xml/datatype/
DDatatypeFactory.java404 int milliseconds = (int) (val % 60000L); // 60000 milliseconds per minute in newDurationDayTime() local
406 ++milliseconds; in newDurationDayTime()
408 if (milliseconds % 1000 == 0) { in newDurationDayTime()
409 int seconds = milliseconds / 1000; in newDurationDayTime()
422 BigInteger.valueOf(minutes), BigDecimal.valueOf(milliseconds, 3)); in newDurationDayTime()
426 BigDecimal seconds = BigDecimal.valueOf(milliseconds, 3); in newDurationDayTime()
1002 final int milliseconds, in newXMLGregorianCalendarTime() argument
1008 if (milliseconds != DatatypeConstants.FIELD_UNDEFINED) { in newXMLGregorianCalendarTime()
1009 if (milliseconds < 0 || milliseconds > 1000) { in newXMLGregorianCalendarTime()
1013 + "with invalid milliseconds: " + milliseconds in newXMLGregorianCalendarTime()
[all …]
/libcore/luni/src/test/java/libcore/java/util/
DOldTimeZoneTest.java29 … public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) { in getOffset() argument
DGregorianCalendarTest.java433 int milliseconds) { in getOffset() argument
434 return timeZone.getOffset(era, year, month, day, dayOfWeek, milliseconds); in getOffset()
/libcore/ojluni/src/main/java/java/util/
DTimeZone.java196 int dayOfWeek, int milliseconds); in getOffset() argument
DGregorianCalendar.java743 GregorianCalendar(long milliseconds) { in GregorianCalendar() argument
745 setTimeInMillis(milliseconds); in GregorianCalendar()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest2.java44 transient long milliseconds; field in SerializationStressTest2.ReadWriteObjectAndPrimitiveData
60 milliseconds = in.readLong(); in readObject()
67 out.writeLong(milliseconds); in writeObject()