Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for hours (0.22 sec)

  1. src/archive/zip/reader_test.go

    				Content:  []byte("This is a test text file.\n"),
    				Modified: time.Date(2010, 9, 5, 12, 12, 1, 0, timeZone(+10*time.Hour)),
    				Mode:     0644,
    			},
    			{
    				Name:     "gophercolor16x16.png",
    				File:     "gophercolor16x16.png",
    				Modified: time.Date(2010, 9, 5, 15, 52, 58, 0, timeZone(+10*time.Hour)),
    				Mode:     0644,
    			},
    		},
    	},
    	{
    		Name:    "test-trailing-junk.zip",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  2. api/go1.1.txt

    pkg time, const ANSIC = "Mon Jan _2 15:04:05 2006"
    pkg time, const April = 4
    pkg time, const August = 8
    pkg time, const December = 12
    pkg time, const February = 2
    pkg time, const Friday = 5
    pkg time, const Hour = 3600000000000
    pkg time, const January = 1
    pkg time, const July = 7
    pkg time, const June = 6
    pkg time, const Kitchen = "3:04PM"
    pkg time, const March = 3
    pkg time, const May = 5
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  3. src/archive/zip/writer_test.go

    		}
    	}
    }
    
    func TestWriterTime(t *testing.T) {
    	var buf bytes.Buffer
    	h := &FileHeader{
    		Name:     "test.txt",
    		Modified: time.Date(2017, 10, 31, 21, 11, 57, 0, timeZone(-7*time.Hour)),
    	}
    	w := NewWriter(&buf)
    	if _, err := w.CreateHeader(h); err != nil {
    		t.Fatalf("unexpected CreateHeader error: %v", err)
    	}
    	if err := w.Close(); err != nil {
    		t.Fatalf("unexpected Close error: %v", err)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  4. api/go1.txt

    pkg time, method (*Ticker) Stop()
    pkg time, method (*Time) GobDecode([]uint8) error
    pkg time, method (*Time) UnmarshalJSON([]uint8) error
    pkg time, method (*Timer) Stop() bool
    pkg time, method (Duration) Hours() float64
    pkg time, method (Duration) Minutes() float64
    pkg time, method (Duration) Nanoseconds() int64
    pkg time, method (Duration) Seconds() float64
    pkg time, method (Duration) String() string
    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)
  5. src/archive/zip/struct.go

    // If the offset is non-sensible, then this uses an offset of zero.
    func timeZone(offset time.Duration) *time.Location {
    	const (
    		minOffset   = -12 * time.Hour  // E.g., Baker island at -12:00
    		maxOffset   = +14 * time.Hour  // E.g., Line island at +14:00
    		offsetAlias = 15 * time.Minute // E.g., Nepal at +5:45
    	)
    	offset = offset.Round(offsetAlias)
    	if offset < minOffset || maxOffset < offset {
    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)
Back to top