Documentation
¶
Index ¶
- type CustomDate
- func (c CustomDate) MarshalJSON() ([]byte, error)
- func (c *CustomDate) ToDayMonthYearSlashFormat() string
- func (c *CustomDate) ToISO8601Format() string
- func (c *CustomDate) ToUTC() string
- func (c *CustomDate) ToYearMonthDayFormat() string
- func (c *CustomDate) ToYearMonthFormat() string
- func (c *CustomDate) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomDate ¶
func Parse ¶
func Parse(s string) CustomDate
func TryParse ¶
func TryParse(s string) (CustomDate, error)
func (CustomDate) MarshalJSON ¶
func (c CustomDate) MarshalJSON() ([]byte, error)
func (*CustomDate) ToDayMonthYearSlashFormat ¶
func (c *CustomDate) ToDayMonthYearSlashFormat() string
func (*CustomDate) ToISO8601Format ¶
func (c *CustomDate) ToISO8601Format() string
func (*CustomDate) ToUTC ¶
func (c *CustomDate) ToUTC() string
func (*CustomDate) ToYearMonthDayFormat ¶
func (c *CustomDate) ToYearMonthDayFormat() string
func (*CustomDate) ToYearMonthFormat ¶
func (c *CustomDate) ToYearMonthFormat() string
func (*CustomDate) UnmarshalJSON ¶
func (c *CustomDate) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.