Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,526 for Time (0.15 sec)

  1. internal/amztime/iso8601_time.go

    }
    
    // ISO8601Parse parses ISO8601 date string
    func ISO8601Parse(iso8601 string) (t time.Time, err error) {
    	for _, layout := range []string{
    		iso8601TimeFormat,
    		iso8601TimeFormatLong,
    		time.RFC3339,
    	} {
    		t, err = time.Parse(layout, iso8601)
    		if err == nil {
    			return t, nil
    		}
    	}
    
    	return t, err
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Jan 16 23:38:33 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  2. internal/amztime/iso8601_time_test.go

    package amztime
    
    import (
    	"testing"
    	"time"
    )
    
    func TestISO8601Format(t *testing.T) {
    	testCases := []struct {
    		date           time.Time
    		expectedOutput string
    	}{
    		{
    			date:           time.Date(2009, time.November, 13, 4, 51, 1, 940303531, time.UTC),
    			expectedOutput: "2009-11-13T04:51:01.940Z",
    		},
    		{
    			date:           time.Date(2009, time.November, 13, 4, 51, 1, 901303531, time.UTC),
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Dec 12 18:28:30 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  3. src/archive/zip/testdata/time-win7.zip

    Joe Tsai <******@****.***> 1503947278 -0700
    ZIP Archive
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Nov 06 19:50:28 GMT 2017
    - 114 bytes
    - Viewed (0)
  4. src/archive/zip/testdata/time-winrar.zip

    Joe Tsai <******@****.***> 1503947278 -0700
    ZIP Archive
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Nov 06 19:50:28 GMT 2017
    - 150 bytes
    - Viewed (0)
  5. doc/next/6-stdlib/1-time.md

    ### Timer changes
    
    Go 1.23 makes two significant changes to the implementation of
    [time.Timer] and [time.Ticker].
    
    First, `Timer`s and `Ticker`s that are no longer referred to by the program
    become eligible for garbage collection immediately, even if their
    `Stop` methods have not been called.
    Earlier versions of Go did not collect unstopped `Timer`s until after
    they had fired and never collected unstopped `Ticker`s.
    
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/archive/zip/testdata/time-22738.zip

    Russ Cox <******@****.***> 1511973652 -0500
    ZIP Archive
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Dec 01 00:22:21 GMT 2017
    - 140 bytes
    - Viewed (0)
  7. src/archive/zip/testdata/time-go.zip

    Joe Tsai <******@****.***> 1503947278 -0700
    ZIP Archive
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Nov 06 19:50:28 GMT 2017
    - 148 bytes
    - Viewed (0)
  8. src/archive/zip/testdata/time-infozip.zip

    Joe Tsai <******@****.***> 1503947278 -0700
    ZIP Archive
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Nov 06 19:50:28 GMT 2017
    - 166 bytes
    - Viewed (0)
  9. src/archive/zip/testdata/time-osx.zip

    Joe Tsai <******@****.***> 1503947278 -0700
    ZIP Archive
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Nov 06 19:50:28 GMT 2017
    - 142 bytes
    - Viewed (0)
  10. src/archive/zip/testdata/time-winzip.zip

    Joe Tsai <******@****.***> 1503947278 -0700
    ZIP Archive
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Nov 06 19:50:28 GMT 2017
    - 150 bytes
    - Viewed (0)
Back to top