Lines Matching refs:milliseconds
52 private transient long milliseconds;
79 milliseconds = cal.getTimeInMillis();
104 milliseconds = cal.getTimeInMillis();
131 milliseconds = cal.getTimeInMillis();
136 * value is the number of milliseconds since Jan. 1, 1970 GMT.
138 * @param milliseconds
139 * the number of milliseconds since Jan. 1, 1970 GMT.
141 public Date(long milliseconds) {
142 this.milliseconds = milliseconds;
156 milliseconds = parse(string);
168 return milliseconds > date.milliseconds;
180 return milliseconds < date.milliseconds;
209 if (milliseconds < date.milliseconds) {
212 if (milliseconds == date.milliseconds) {
233 && (milliseconds == ((Date) object).milliseconds);
245 return new GregorianCalendar(milliseconds).get(Calendar.DATE);
257 return new GregorianCalendar(milliseconds).get(Calendar.DAY_OF_WEEK) - 1;
269 return new GregorianCalendar(milliseconds).get(Calendar.HOUR_OF_DAY);
281 return new GregorianCalendar(milliseconds).get(Calendar.MINUTE);
293 return new GregorianCalendar(milliseconds).get(Calendar.MONTH);
305 return new GregorianCalendar(milliseconds).get(Calendar.SECOND);
310 * milliseconds since Jan. 1, 1970, midnight GMT.
312 * @return the number of milliseconds since Jan. 1, 1970, midnight GMT.
315 return milliseconds;
328 GregorianCalendar cal = new GregorianCalendar(milliseconds);
341 return new GregorianCalendar(milliseconds).get(Calendar.YEAR) - 1900;
354 return (int) (milliseconds >>> 32) ^ (int) milliseconds;
576 GregorianCalendar cal = new GregorianCalendar(milliseconds);
578 milliseconds = cal.getTimeInMillis();
591 GregorianCalendar cal = new GregorianCalendar(milliseconds);
593 milliseconds = cal.getTimeInMillis();
606 GregorianCalendar cal = new GregorianCalendar(milliseconds);
608 milliseconds = cal.getTimeInMillis();
621 GregorianCalendar cal = new GregorianCalendar(milliseconds);
623 milliseconds = cal.getTimeInMillis();
636 GregorianCalendar cal = new GregorianCalendar(milliseconds);
638 milliseconds = cal.getTimeInMillis();
643 * number of milliseconds since Jan. 1, 1970 GMT.
645 * @param milliseconds
646 * the number of milliseconds since Jan. 1, 1970 GMT.
648 public void setTime(long milliseconds) {
649 this.milliseconds = milliseconds;
662 GregorianCalendar cal = new GregorianCalendar(milliseconds);
664 milliseconds = cal.getTimeInMillis();
679 gc.setTimeInMillis(milliseconds);
707 Calendar cal = new GregorianCalendar(milliseconds);
750 * @return the date and time in GMT in milliseconds.