/** * Creates a date which corresponds to the day determined by the supplied * milliseconds time value {@code theDate}. * * @param theDate * a time value in milliseconds since the epoch - January 1 1970 * 00:00:00 GMT. The time value (hours, minutes, seconds, * milliseconds) stored in the {@code Date} object is adjusted to * correspond to 00:00:00 GMT on the day determined by the supplied * time value. */ public Date(long theDate) { super(normalizeTime(theDate)); }
/** * Sets this date to a date supplied as a milliseconds value. The date is * set based on the supplied time value and rounded to zero GMT for that day. * * @param theTime * the time in milliseconds since the Epoch. */ @Override public void setTime(long theTime) { /* * Store the Date based on the supplied time after removing any time * elements finer than the day based on zero GMT */ super.setTime(normalizeTime(theTime)); }
/** * Creates a date which corresponds to the day determined by the supplied * milliseconds time value {@code theDate}. * * @param theDate * a time value in milliseconds since the epoch - January 1 1970 * 00:00:00 GMT. The time value (hours, minutes, seconds, * milliseconds) stored in the {@code Date} object is adjusted to * correspond to 00:00:00 GMT on the day determined by the supplied * time value. */ public Date(long theDate) { super(normalizeTime(theDate)); }
/** * Creates a date which corresponds to the day determined by the supplied * milliseconds time value {@code theDate}. * * @param theDate * a time value in milliseconds since the epoch - January 1 1970 * 00:00:00 GMT. The time value (hours, minutes, seconds, * milliseconds) stored in the {@code Date} object is adjusted to * correspond to 00:00:00 GMT on the day determined by the supplied * time value. */ public Date(long theDate) { super(normalizeTime(theDate)); }
/** * Creates a date which corresponds to the day determined by the supplied * milliseconds time value {@code theDate}. * * @param theDate * a time value in milliseconds since the epoch - January 1 1970 * 00:00:00 GMT. The time value (hours, minutes, seconds, * milliseconds) stored in the {@code Date} object is adjusted to * correspond to 00:00:00 GMT on the day determined by the supplied * time value. */ public Date(long theDate) { super(normalizeTime(theDate)); }
/** * Creates a date which corresponds to the day determined by the supplied * milliseconds time value {@code theDate}. * * @param theDate * a time value in milliseconds since the epoch - January 1 1970 * 00:00:00 GMT. The time value (hours, minutes, seconds, * milliseconds) stored in the {@code Date} object is adjusted to * correspond to 00:00:00 GMT on the day determined by the supplied * time value. */ public Date(long theDate) { super(normalizeTime(theDate)); }
/** * Creates a date which corresponds to the day determined by the supplied * milliseconds time value {@code theDate}. * * @param theDate * a time value in milliseconds since the epoch - January 1 1970 * 00:00:00 GMT. The time value (hours, minutes, seconds, * milliseconds) stored in the {@code Date} object is adjusted to * correspond to 00:00:00 GMT on the day determined by the supplied * time value. */ public Date(long theDate) { super(normalizeTime(theDate)); }
/** * Creates a date which corresponds to the day determined by the supplied * milliseconds time value {@code theDate}. * * @param theDate * a time value in milliseconds since the epoch - January 1 1970 * 00:00:00 GMT. The time value (hours, minutes, seconds, * milliseconds) stored in the {@code Date} object is adjusted to * correspond to 00:00:00 GMT on the day determined by the supplied * time value. */ public Date(long theDate) { super(normalizeTime(theDate)); }
/** * Sets this date to a date supplied as a milliseconds value. The date is * set based on the supplied time value and rounded to zero GMT for that day. * * @param theTime * the time in milliseconds since the Epoch. */ @Override public void setTime(long theTime) { /* * Store the Date based on the supplied time after removing any time * elements finer than the day based on zero GMT */ super.setTime(normalizeTime(theTime)); }
/** * Sets this date to a date supplied as a milliseconds value. The date is * set based on the supplied time value and rounded to zero GMT for that day. * * @param theTime * the time in milliseconds since the Epoch. */ @Override public void setTime(long theTime) { /* * Store the Date based on the supplied time after removing any time * elements finer than the day based on zero GMT */ super.setTime(normalizeTime(theTime)); }
/** * Sets this date to a date supplied as a milliseconds value. The date is * set based on the supplied time value and rounded to zero GMT for that day. * * @param theTime * the time in milliseconds since the Epoch. */ @Override public void setTime(long theTime) { /* * Store the Date based on the supplied time after removing any time * elements finer than the day based on zero GMT */ super.setTime(normalizeTime(theTime)); }
/** * Sets this date to a date supplied as a milliseconds value. The date is * set based on the supplied time value and rounded to zero GMT for that day. * * @param theTime * the time in milliseconds since the Epoch. */ @Override public void setTime(long theTime) { /* * Store the Date based on the supplied time after removing any time * elements finer than the day based on zero GMT */ super.setTime(normalizeTime(theTime)); }
/** * Sets this date to a date supplied as a milliseconds value. The date is * set based on the supplied time value and rounded to zero GMT for that day. * * @param theTime * the time in milliseconds since the Epoch. */ @Override public void setTime(long theTime) { /* * Store the Date based on the supplied time after removing any time * elements finer than the day based on zero GMT */ super.setTime(normalizeTime(theTime)); }
/** * Sets this date to a date supplied as a milliseconds value. The date is * set based on the supplied time value and rounded to zero GMT for that day. * * @param theTime * the time in milliseconds since the Epoch. */ @Override public void setTime(long theTime) { /* * Store the Date based on the supplied time after removing any time * elements finer than the day based on zero GMT */ super.setTime(normalizeTime(theTime)); }