Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for daysBefore (0.1 sec)

  1. src/time/zoneinfo.go

    		d := r.day - dow
    		if d < 0 {
    			d += 7
    		}
    		for i := 1; i < r.week; i++ {
    			if d+7 >= daysIn(Month(r.mon), year) {
    				break
    			}
    			d += 7
    		}
    		d += int(daysBefore[r.mon-1])
    		if isLeap(year) && r.mon > 2 {
    			d++
    		}
    		s = d * secondsPerDay
    	}
    
    	return s + r.time - off
    }
    
    // lookupName returns information about the time zone with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top