Lines Matching defs:String
101 var months = [...]string{
116 // String returns the English name of the month ("January", "February", ...).
117 func (m Month) String() string {
123 return "%!Month(" + string(buf[n:]) + ")"
139 var days = [...]string{
149 // String returns the English name of the day ("Sunday", "Monday", ...).
150 func (d Weekday) String() string { return days[d] }
278 func (t Time) locabs() (name string, offset int, abs uint64) {
468 // String returns a string representing the duration in the form "72h3m0.5s".
472 func (d Duration) String() string {
542 string(buf[w:])
836 func (t Time) Zone() (name string, offset int) {
948 // The time is a quoted string in RFC 3339 format, with sub-second precision added if present.
964 // The time is expected to be a quoted string in RFC 3339 format.
967 if string(data) == "null" {
972 *t, err = Parse(`"`+RFC3339+`"`, string(data))
992 *t, err = Parse(RFC3339, string(data))