Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for firstZoneUsed (0.2 sec)

  1. src/time/zoneinfo.go

    	// Case 3.
    	for zi := range l.zone {
    		if !l.zone[zi].isDST {
    			return zi
    		}
    	}
    
    	// Case 4.
    	return 0
    }
    
    // firstZoneUsed reports whether the first zone is used by some
    // transition.
    func (l *Location) firstZoneUsed() bool {
    	for _, tx := range l.tx {
    		if tx.index == 0 {
    			return true
    		}
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. src/go/internal/gccgoimporter/testdata/issue29198.gox

     func (l <esc:0x1> <type 24>) .time.lookupName (name <esc:0x1> <type -16>, unix <type -4>) (offset <type -11>, ok <type -15>);
     func (l <esc:0x1> <type 24>) .time.firstZoneUsed () <type -15>;
    >>; }>
     func (t <esc:0x12> <type 12>) In (loc <type 14>) <type 12>;
     func (t <esc:0x1> <type 12>) .time.date (full <type -15>) (year <type -11>, month <type 25 "time.Month" <type -11>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 12 23:01:16 UTC 2018
    - 6.4K bytes
    - Viewed (0)
  3. src/go/internal/gccgoimporter/testdata/time.gox

     func (l <type 15>) .time.lookup (sec <type -4>) (name <type -16>, offset <type -11>, isDST <type -15>, start <type -4>, end <type -4>);
     func (l <type 15>) .time.lookupFirstZone () <type -11>;
     func (l <type 15>) .time.firstZoneUsed () <type -15>;
     func (l <type 15>) .time.lookupName (name <type -16>, unix <type -4>) (offset <type -11>, isDST <type -15>, ok <type -15>);
    >>; }>
     func (t <type 3>) String () <type -16>;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 30 21:33:51 UTC 2021
    - 7.3K bytes
    - Viewed (0)
Back to top