date

package
v0.0.0-...-1dacd80 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: Apache-2.0, MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parser

func Parser() parser.Func[rune, DateTime]

Parses a date time according to ISO8601 2015-08-02T18:54:42+02

Types

type Date

type Date struct {
	Year  int
	Month int
	Day   int
}

type DateTime

type DateTime struct {
	Date
	Time
}

type Time

type Time struct {
	Hour     int
	Minute   int
	Second   int
	TimeZone int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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