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

/libcore/luni/src/main/java/javax/xml/datatype/
H A DDatatypeFactory.java171 * specifying the <code>Duration</code> as milliseconds.</p>
181 * <p>All six values are set by computing their values from the specified milliseconds
200 * @param durationInMilliSeconds Duration in milliseconds to create.
347 * <p>Create a <code>Duration</code> of type <code>xdt:dayTimeDuration</code> using the specified milliseconds as defined in
355 * <p>All four values are set by computing their values from the specified milliseconds
374 * <p>Any remaining milliseconds after determining the day, hour, minute and second are discarded.</p>
404 int milliseconds = (int) (val % 60000L); // 60000 milliseconds per minute
406 ++milliseconds;
408 if (milliseconds
998 newXMLGregorianCalendarTime( final int hours, final int minutes, final int seconds, final int milliseconds, final int timezone) argument
[all...]
/libcore/luni/src/test/java/libcore/java/util/
H A DOldTimeZoneTest.java29 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) { argument
H A DGregorianCalendarTest.java296 // Clear the milliseconds field.
301 // Check milliseconds one second before the transition.
309 // Check milliseconds at the transition point but using an invalid wall clock
325 // Check milliseconds at the first valid wall clock time after transition, 03:00 - should
334 // Check milliseconds at the last invalid wall clock time, 02:59:59.999.
343 // Check milliseconds at 03:59:59.999 - should be treated the same as 02:59:59.999
392 int milliseconds) {
393 return timeZone.getOffset(era, year, month, day, dayOfWeek, milliseconds);
391 getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) argument
/libcore/ojluni/src/main/java/java/util/
H A DTimeZone.java188 * @param milliseconds the milliseconds in day in <em>standard</em>
191 * @return the offset in milliseconds to add to GMT to get local time.
197 int dayOfWeek, int milliseconds);
209 * @param date the date represented in milliseconds since January 1, 1970 00:00:00 GMT
210 * @return the amount of time in milliseconds to add to UTC to get local time.
226 * @param date the milliseconds (since January 1, 1970,
267 * Returns the amount of time in milliseconds to add to UTC to get
276 * this method always returns -36000000 milliseconds (i.e., -10
279 * @return the amount of raw offset time in milliseconds t
196 getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) argument
[all...]
H A DGregorianCalendar.java332 * The epoch is the number of days or milliseconds from some defined
334 * milliseconds from January 1, 1970 (Gregorian), midnight UTC. Other
518 * milliseconds from the standard epoch. Default is October 15, 1582
724 GregorianCalendar(long milliseconds) { argument
726 setTimeInMillis(milliseconds);
980 // amount to milliseconds and call setTimeInMillis.
991 delta *= 1000; // seconds to milliseconds
2715 // millis represents local wall-clock time in milliseconds.
2737 // Set this calendar's time in milliseconds
2759 * Calculates the time in milliseconds tha
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DSerializationStressTest2.java44 transient long milliseconds; field in class:SerializationStressTest2.ReadWriteObjectAndPrimitiveData
60 milliseconds = in.readLong();
67 out.writeLong(milliseconds);

Completed in 196 milliseconds