Searched refs:milliseconds (Results 1 – 8 of 8) sorted by relevance
52 private transient long milliseconds; field in Date78 milliseconds = cal.getTimeInMillis(); in Date()102 milliseconds = cal.getTimeInMillis(); in Date()129 milliseconds = cal.getTimeInMillis(); in Date()139 public Date(long milliseconds) { in Date() argument140 this.milliseconds = milliseconds; in Date()154 milliseconds = parse(string); in Date()166 return milliseconds > date.milliseconds; in after()178 return milliseconds < date.milliseconds; in before()207 if (milliseconds < date.milliseconds) { in compareTo()[all …]
548 public void setDSTSavings(int milliseconds) { in setDSTSavings() argument549 if (milliseconds <= 0) { in setDSTSavings()550 throw new IllegalArgumentException("milliseconds <= 0: " + milliseconds); in setDSTSavings()552 dstSavings = milliseconds; in setDSTSavings()
1202 public void setTimeInMillis(long milliseconds) { in setTimeInMillis() argument1203 if (!isTimeSet || !areFieldsSet || time != milliseconds) { in setTimeInMillis()1204 time = milliseconds; in setTimeInMillis()
293 GregorianCalendar(long milliseconds) { in GregorianCalendar() argument295 setTimeInMillis(milliseconds); in GregorianCalendar()
404 int milliseconds = (int) (val % 60000L); // 60000 milliseconds per minute in newDurationDayTime() local406 ++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() argument1008 if (milliseconds != DatatypeConstants.FIELD_UNDEFINED) { in newXMLGregorianCalendarTime()1009 if (milliseconds < 0 || milliseconds > 1000) { in newXMLGregorianCalendarTime()1013 + "with invalid milliseconds: " + milliseconds in newXMLGregorianCalendarTime()[all …]
334 int milliseconds = (int) (theTime % 1000); in setTimeImpl() local335 theTime = theTime - milliseconds; in setTimeImpl()336 if (milliseconds < 0) { in setTimeImpl()338 milliseconds = 1000 + milliseconds; in setTimeImpl()341 setNanos(milliseconds * 1000000); in setTimeImpl()
30 … public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) { in getOffset() argument
44 transient long milliseconds; field in SerializationStressTest2.ReadWriteObjectAndPrimitiveData60 milliseconds = in.readLong(); in readObject()67 out.writeLong(milliseconds); in writeObject()