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

/dalvik/libcore/luni/src/main/java/java/util/
H A DDate.java46 private transient long milliseconds; field in class:Date
80 milliseconds = cal.getTimeInMillis();
105 milliseconds = cal.getTimeInMillis();
132 milliseconds = cal.getTimeInMillis();
137 * value is the number of milliseconds since Jan. 1, 1970 GMT.
139 * @param milliseconds
140 * the number of milliseconds since Jan. 1, 1970 GMT.
142 public Date(long milliseconds) { argument
143 this.milliseconds = milliseconds;
649 setTime(long milliseconds) argument
[all...]
H A DCalendar.java164 * {@code f} is changed immediately, the calendar's milliseconds is not
212 * immediate recomputation of the calendar's milliseconds and all fields.
317 * The time in milliseconds since January 1, 1970.
632 * raw offset from GMT in milliseconds.
638 * daylight savings offset in milliseconds.
1290 * @param milliseconds
1291 * the time as the number of milliseconds since Jan. 1, 1970.
1293 public void setTimeInMillis(long milliseconds) { argument
1294 if (!isTimeSet || !areFieldsSet || time != milliseconds) {
1295 time = milliseconds;
[all...]
H A DSimpleTimeZone.java213 * the daylight savings time difference in milliseconds.
247 * the daylight savings time difference in milliseconds.
288 * mode specifier, the daylight savings time difference in milliseconds.
307 * the time of day in milliseconds on which daylight savings
321 * the time of day in milliseconds on which daylight savings
326 * the daylight savings time difference in milliseconds.
620 * Sets the daylight savings offset in milliseconds for this {@code SimpleTimeZone}.
622 * @param milliseconds
623 * the daylight savings offset in milliseconds.
625 public void setDSTSavings(int milliseconds) { argument
[all...]
H A DGregorianCalendar.java301 GregorianCalendar(long milliseconds) { argument
303 setTimeInMillis(milliseconds);
/dalvik/libcore/xml/src/main/java/javax/xml/datatype/
H A DDatatypeFactory.java164 * specifying the <code>Duration</code> as milliseconds.</p>
174 * <p>All six values are set by computing their values from the specified milliseconds
193 * @param durationInMilliSeconds Duration in milliseconds to create.
340 * <p>Create a <code>Duration</code> of type <code>xdt:dayTimeDuration</code> using the specified milliseconds as defined in
348 * <p>All four values are set by computing their values from the specified milliseconds
367 * <p>Any remaining milliseconds after determining the day, hour, minute and second are discarded.</p>
397 int milliseconds = (int) (val % 60000L); // 60000 milliseconds per minute
399 ++milliseconds;
401 if (milliseconds
991 newXMLGregorianCalendarTime( final int hours, final int minutes, final int seconds, final int milliseconds, final int timezone) argument
[all...]
/dalvik/libcore/sql/src/main/java/java/sql/
H A DTimestamp.java97 * a time value in the format of milliseconds since the Epoch
281 * value containing the number of milliseconds since the Epoch (January 1
284 * @return the number of milliseconds that have passed since January 1 1970,
313 * supplied time, defined as the number of milliseconds since the Epoch
317 * number of milliseconds since the Epoch (January 1 1970,
327 * Deal with the nanoseconds value. The supplied time is in milliseconds -
328 * so we must extract the milliseconds value and multiply by 1000000 to
332 * take the "raw" milliseconds value and subtract it from 1000 to get to
336 int milliseconds = (int) (theTime % 1000);
337 theTime = theTime - milliseconds;
[all...]
/dalvik/libcore/luni/src/test/java/tests/api/java/util/
H A DTimeZoneTest.java213 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) { argument
/dalvik/libcore/luni/src/test/java/tests/api/java/io/
H A DSerializationStressTest2.java49 transient long milliseconds; field in class:SerializationStressTest2.ReadWriteObjectAndPrimitiveData
65 milliseconds = in.readLong();
72 out.writeLong(milliseconds);

Completed in 159 milliseconds