Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for parseRFC3339 (0.13 sec)

  1. src/time/export_test.go

    }
    
    var Quote = quote
    
    var AppendInt = appendInt
    var AppendFormatAny = Time.appendFormat
    var AppendFormatRFC3339 = Time.appendFormatRFC3339
    var ParseAny = parse
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 19:23:32 UTC 2022
    - 4K bytes
    - Viewed (0)
  2. src/time/format_rfc3339.go

    		c := b[len(b)-len("Z07:00")]
    		if ('0' <= c && c <= '9') || num2(b[len(b)-len("07:00"):]) >= 24 {
    			return b, errors.New("timezone hour outside of range [0,23]")
    		}
    	}
    	return b, nil
    }
    
    func parseRFC3339[bytes []byte | string](s bytes, local *Location) (Time, bool) {
    	// parseUint parses s as an unsigned decimal integer and
    	// verifies that it is within some range.
    	// If it is invalid or out-of-range,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 18 19:59:26 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top