customdate

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomDate

type CustomDate struct {
	time.Time
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL