Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( YYYY = Convention{ // contains filtered or unexported fields } YY = Convention{ // contains filtered or unexported fields } MM = Convention{ // contains filtered or unexported fields } M0 = Convention{ // contains filtered or unexported fields } DD = Convention{ // contains filtered or unexported fields } D0 = Convention{ // contains filtered or unexported fields } MICRO = Convention{ // contains filtered or unexported fields } CONVENTIONS = map[string]Convention{ YYYY.representation: YYYY, YY.representation: YY, zeroY.representation: zeroY, MM.representation: MM, M0.representation: M0, zeroM.representation: zeroM, DD.representation: DD, D0.representation: D0, zeroD.representation: zeroD, MICRO.representation: MICRO, } )
View Source
var Now = time.Now
this is for testing purpose only
Functions ¶
func ValidatePattern ¶
Types ¶
type Convention ¶
type Convention struct {
// contains filtered or unexported fields
}
func (*Convention) Format ¶
func (c *Convention) Format(value int) string
Click to show internal directories.
Click to hide internal directories.