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.56 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.55 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.54 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.53 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.52 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.51 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.50 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.49 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.48 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.47 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.46 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.45 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.44 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.43 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.42 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.41 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.40 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.39 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.38 tracks/go/exercises/gigasecond/cases_test.go
trackler-2.2.1.37 tracks/go/exercises/gigasecond/cases_test.go