/** * Returns the minutes of the hour corresponding to this <tt>Date</tt>'s time * value, in the local time zone. * * @return the minutes of the hour corresponding to this <tt>Date</tt>'s time value, in the local time zone. */ public double getMinutes() { return getField(getCalendar(false), Calendar.MINUTE); }
/** * Returns the day of the week corresponding to this <tt>Date</tt>'s time * value, in the local time zone. A weekday value of 0 specifies Sunday; 1 * specifies Monday; 2 specifies Tuesday; 3 specifies Wednesday; 4 * specifies Thursday; 5 specifies Friday; and 6 specifies Saturday * * @return the day of the week corresponding to this <tt>Date</tt>'s time value, in the local time zone. */ public double getDay() { return getField(getCalendar(false), Calendar.DAY_OF_WEEK); }
/** * Returns the year corresponding to this <tt>Date</tt>'s time value, in * the local time zone. * * @return the year corresponding to this <tt>Date</tt>'s time value, in the local time zone. */ public double getFullYear() { return getField(getCalendar(false), Calendar.YEAR); }
/** * Returns the month number corresponding to this <tt>Date</tt>'s time value, * in the local time zone. Month numbers are 0 indexed, with January being 0 * and December being 11. * * @return Returns the month number in which this <tt>Date</tt> is placed, in the local time zone */ public double getMonth() { return getField(getCalendar(false), Calendar.MONTH); }
/** * Returns the day of the month corresponding to this <tt>Date</tt>'s time value, * in UTC. * * @return the day of the month corresponding to this <tt>Date</tt>'s time value, in UTC. */ public double getUTCDate() { return getField(getUTC(false), Calendar.DAY_OF_MONTH); }
/** * Returns the day of the week corresponding to this <tt>Date</tt>'s time * value, in UTC. A weekday value of 0 specifies Sunday; 1 * specifies Monday; 2 specifies Tuesday; 3 specifies Wednesday; 4 * specifies Thursday; 5 specifies Friday; and 6 specifies Saturday * * @return the day of the week corresponding to this <tt>Date</tt>'s time value, in UTC. */ public double getUTCDay() { return getField(getUTC(false), Calendar.DAY_OF_WEEK); }
/** * Returns the minutes of the hour corresponding to this <tt>Date</tt>'s time * value, in UTC. * * @return the minutes of the hour corresponding to this <tt>Date</tt>'s time value, in UTC. */ public double getUTCMinutes() { return getField(getUTC(false), Calendar.MINUTE); }
/** * Returns the day of the month corresponding to this <tt>Date</tt>'s time value, * in the local time zone. * * @return the day of the month corresponding to this <tt>Date</tt>'s time value, in the local time zone. */ public double getDate() { return getField(getCalendar(false), Calendar.DAY_OF_MONTH); }
/** * Returns the hour of the day corresponding to this <tt>Date</tt>'s time * value, in the local time zone. * * @return the hour of the day corresponding to this <tt>Date</tt>'s time value, in the local time zone. */ public double getHours() { return getField(getCalendar(false), Calendar.HOUR_OF_DAY); }
/** * Returns the year corresponding to this <tt>Date</tt>'s time value, in UTC. * * @return the year corresponding to this <tt>Date</tt>'s time value, in UTC. */ public double getUTCFullYear() { return getField(getUTC(false), Calendar.YEAR); }
/** * Returns the milliseconds of the second corresponding to this <tt>Date</tt>'s time * value, in UTC. * * @return the milliseconds of the second corresponding to this <tt>Date</tt>'s time value, in UTC. */ public double getUTCMilliseconds() { return getField(getUTC(false), Calendar.MILLISECOND); }
/** * Returns the milliseconds of the second corresponding to this <tt>Date</tt>'s time * value, in the local time zone. * * @return the milliseconds of the second corresponding to this <tt>Date</tt>'s time value, in the local time zone. */ public double getMilliseconds() { return getField(getCalendar(false), Calendar.MILLISECOND); }
/** * Returns the seconds of the minute corresponding to this <tt>Date</tt>'s time * value, in the local time zone. * * @return the seconds of the minute corresponding to this <tt>Date</tt>'s time value, in the local time zone. */ public double getSeconds() { return getField(getCalendar(false), Calendar.SECOND); }
/** * Returns the month number corresponding to this <tt>Date</tt>'s time value, * in UTC. Month numbers are 0 indexed, with January being 0 and December * being 11. * * @return Returns the month number in which this <tt>Date</tt> is placed, in UTC */ public double getUTCMonth() { return getField(getUTC(false), Calendar.MONTH); }
/** * Returns the seconds of the minute corresponding to this <tt>Date</tt>'s time * value, in UTC. * * @return the seconds of the minute corresponding to this <tt>Date</tt>'s time value, in UTC. */ public double getUTCSeconds() { return getField(getUTC(false), Calendar.SECOND); }