You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: claims.go
    path of file: ./repos/goldfish/vendor/gopkg.in/square/go-jose.v2/jwt
    
    the code of the file until where you have to start completion: /*-
 * Copyright 2016 Zbigniew Mandziejewicz
 * Copyright 2016 S
    
func NewNumericDate(t time.Time) NumericDate {
	if t.IsZero() {
		return NumericDate(0)
	}

	// While RFC 7519 technically states that NumericDate values may be
	// non-integer values, we don't bother serializing timestamps in
	// claims with sub-second accurancy and just round to the nearest
	// second instead. Not convined sub-second accuracy is useful here.
	return NumericDate(t.Unix())
}