Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for initLocalFromTZI (0.12 sec)

  1. src/time/zoneinfo_windows.go

    	} else {
    		// "Last" instance of the day.
    		day += 4 * 7
    		if day > daysIn(Month(d.Month), year) {
    			day -= 7
    		}
    	}
    	return t.sec() + int64(day-1)*secondsPerDay + internalToUnix
    }
    
    func initLocalFromTZI(i *syscall.Timezoneinformation) {
    	l := &localLoc
    
    	l.name = "Local"
    
    	nzone := 1
    	if i.StandardDate.Month > 0 {
    		nzone++
    	}
    	l.zone = make([]zone, nzone)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 07:20:34 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top