Home | History | Annotate | Download | only in time

Lines Matching refs:seconds

33 // field immediately after the seconds field, even if the layout does not
67 // The RFC3339Nano format removes trailing zeros from the seconds field
252 case '.': // .000 or .999 - repeated digits for fractional seconds.
433 // clock reading formatted as a decimal number of seconds.
476 // to the end of the seconds section of layout string, as in "15:04:05.000"
623 // append seconds if appropriate
939 var sign, hour, min, seconds string
949 sign, hour, min, seconds, value = value[0:1], value[1:3], value[4:6], "00", value[6:]
955 sign, hour, min, seconds, value = value[0:1], value[1:3], "00", "00", value[3:]
965 sign, hour, min, seconds, value = value[0:1], value[1:3], value[4:6], value[7:9], value[9:]
971 sign, hour, min, seconds, value = value[0:1], value[1:3], value[3:5], value[5:7], value[7:]
977 sign, hour, min, seconds, value = value[0:1], value[1:3], value[3:5], "00", value[5:]
985 ss, err = atoi(seconds)
987 zoneOffset = (hr*60+mm)*60 + ss // offset is in seconds