Lines Matching defs:second
119 * @param second
120 * the second of the minute, 0 - 59.
126 public Date(int year, int month, int day, int hour, int minute, int second) {
128 cal.set(1900 + year, month, day, hour, minute, second);
295 * Returns the gregorian calendar second of the minute for this {@code Date} object.
388 int hour = -1, minute = -1, second = -1, zoneOffset = 0, minutesOffset = 0;
467 } else if (minute != -1 && second == -1) {
468 second = digit;
539 if (second == -1) {
540 second = 0;
555 return UTC(year - 1900, month, date, hour, minute, second);
557 return new Date(year - 1900, month, date, hour, minute, second)
624 * Sets the gregorian calendar second of the minute for this {@code Date} object.
626 * @param second
629 * @deprecated Use {@code Calendar.set(Calendar.SECOND, second)} instead.
632 public void setSeconds(int second) {
634 cal.set(Calendar.SECOND, second);
745 * @param second
746 * the second of the minute, 0 - 59.
751 * cal.set(year + 1900, month, day, hour, minute, second);
756 int second) {
759 cal.set(1900 + year, month, day, hour, minute, second);