Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MeST (0.03 sec)

  1. src/time/format.go

    func parseTimeZone(value string) (length int, ok bool) {
    	if len(value) < 3 {
    		return 0, false
    	}
    	// Special case 1: ChST and MeST are the only zones with a lower-case letter.
    	if len(value) >= 4 && (value[:4] == "ChST" || value[:4] == "MeST") {
    		return 4, true
    	}
    	// Special case 2: GMT may have an hour offset; treat it specially.
    	if value[:3] == "GMT" {
    		length = parseGMT(value)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  2. src/time/format_test.go

    	{"GMT+00 hi there", 6, true},
    	{"GMT+", 3, true},
    	{"GMT+3", 5, true},
    	{"GMT+a", 3, true},
    	{"GMT+3a", 5, true},
    	{"GMT-5 hi there", 5, true},
    	{"GMT-51 hi there", 3, true},
    	{"ChST hi there", 4, true},
    	{"MeST hi there", 4, true},
    	{"MSDx", 3, true},
    	{"MSDY", 0, false}, // four letters must end in T.
    	{"ESAST hi", 5, true},
    	{"ESASTT hi", 0, false}, // run of upper-case letters too long.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top