Searched defs: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.java30 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) { argument
/libcore/luni/src/main/java/java/util/
H A DDate.java52 private transient long milliseconds; field in class:Date
78 milliseconds = cal.getTimeInMillis();
102 milliseconds = cal.getTimeInMillis();
129 milliseconds = cal.getTimeInMillis();
134 * value is the number of milliseconds since Jan. 1, 1970 GMT.
136 * @param milliseconds
137 * the number of milliseconds since Jan. 1, 1970 GMT.
139 public Date(long milliseconds) { argument
140 this.milliseconds = milliseconds;
645 setTime(long milliseconds) argument
[all...]
H A DGregorianCalendar.java293 GregorianCalendar(long milliseconds) { argument
295 setTimeInMillis(milliseconds);
H A DSimpleTimeZone.java173 * the daylight savings time difference in milliseconds.
207 * the daylight savings time difference in milliseconds.
236 * mode specifier, the daylight savings time difference in milliseconds.
255 * the time of day in milliseconds on which daylight savings
269 * the time of day in milliseconds on which daylight savings
274 * the daylight savings time difference in milliseconds.
543 * Sets the daylight savings offset in milliseconds for this {@code SimpleTimeZone}.
545 * @param milliseconds
546 * the daylight savings offset in milliseconds.
548 public void setDSTSavings(int milliseconds) { argument
[all...]
H A DCalendar.java165 * {@code f} is changed immediately, the calendar's milliseconds is not
213 * immediate recomputation of the calendar's milliseconds and all fields.
329 * A time in milliseconds since January 1, 1970. See {@code isTimeSet}.
645 * raw offset from GMT in milliseconds.
651 * daylight savings offset in milliseconds.
1190 public void setTimeInMillis(long milliseconds) { argument
1191 if (!isTimeSet || !areFieldsSet || time != milliseconds) {
1192 time = milliseconds;

Completed in 205 milliseconds