Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for FixedZone (0.21 sec)

  1. internal/s3select/sql/timestampfuncs_test.go

    package sql
    
    import (
    	"testing"
    	"time"
    )
    
    func TestParseAndDisplaySQLTimestamp(t *testing.T) {
    	beijing := time.FixedZone("", int((8 * time.Hour).Seconds()))
    	fakeLosAngeles := time.FixedZone("", -int((8 * time.Hour).Seconds()))
    	cases := []struct {
    		s string
    		t time.Time
    	}{
    		{"2010T", time.Date(2010, 1, 1, 0, 0, 0, 0, time.UTC)},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.2K bytes
    - Viewed (0)
  2. src/archive/zip/struct.go

    		offsetAlias = 15 * time.Minute // E.g., Nepal at +5:45
    	)
    	offset = offset.Round(offsetAlias)
    	if offset < minOffset || maxOffset < offset {
    		offset = 0
    	}
    	return time.FixedZone("", int(offset/time.Second))
    }
    
    // msDosTimeToTime converts an MS-DOS date and time into a time.Time.
    // The resolution is 2s.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg time, const Wednesday Weekday
    pkg time, func After(Duration) <-chan Time
    pkg time, func AfterFunc(Duration, func()) *Timer
    pkg time, func Date(int, Month, int, int, int, int, int, *Location) Time
    pkg time, func FixedZone(string, int) *Location
    pkg time, func LoadLocation(string) (*Location, error)
    pkg time, func NewTicker(Duration) *Ticker
    pkg time, func NewTimer(Duration) *Timer
    pkg time, func Now() Time
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
Back to top