Sha256: 7fefd5edeac9003cf4bcd35f52d204b98af426fb2e05f8d6babe3b4bc4b9e8fe

Contents?: true

Size: 718 Bytes

Versions: 126

Compression:

Stored size: 718 Bytes

Contents

package gigasecond

// Source: exercism/x-common
// Commit: 61e7d70 Fix "Gigasecond: Schema Compliance"
// x-common version: 1.0.0

// Add one gigasecond to the input.
var addCases = []struct {
	description string
	in          string
	want        string
}{
	{
		"date only specification of time",
		"2011-04-25",
		"2043-01-01T01:46:40",
	},
	{
		"second test for date only specification of time",
		"1977-06-13",
		"2009-02-19T01:46:40",
	},
	{
		"third test for date only specification of time",
		"1959-07-19",
		"1991-03-27T01:46:40",
	},
	{
		"full time specified",
		"2015-01-24T22:00:00",
		"2046-10-02T23:46:40",
	},
	{
		"full time with day roll-over",
		"2015-01-24T23:59:59",
		"2046-10-03T01:46:39",
	},
}

Version data entries

126 entries across 126 versions & 1 rubygems

Version Path
trackler-2.2.1.16 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.15 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.14 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.13 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.12 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.11 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.10 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.9 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.8 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.7 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.6 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.5 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.4 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.3 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.2 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.1 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.0 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.0.6 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.0.5 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.0.4 tracks/go/exercises/gigasecond/cases_test.go