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.1.0.39 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.1.0.38 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.1.0.37 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.1.0.36 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.1.0.34 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.1.0.33 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.1.0.32 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.1.0.31 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.1.0.30 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.1.0.29 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.1.0.28 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.1.0.27 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.1.0.26 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.1.0.25 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.1.0.24 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.1.0.23 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.1.0.22 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.1.0.21 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.1.0.20 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.1.0.19 tracks/go/exercises/gigasecond/cases_test.go