timestamp

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Timestamp

type Timestamp string

Timestamp is a timestamp string type

func New

func New(t string) Timestamp

func (Timestamp) String

func (t Timestamp) String() string

func (Timestamp) ValidateOnceADayWindowFormat

func (t Timestamp) ValidateOnceADayWindowFormat() error

ValidateOnceADayWindowFormat validates once a day window format

func (Timestamp) ValidateOnceAWeekWindowFormat

func (t Timestamp) ValidateOnceAWeekWindowFormat() error

ValidateOnceAWeekWindowFormat validates once a week window date format

func (Timestamp) ValidateUTCFormat

func (t Timestamp) ValidateUTCFormat() error

ValidateUTCFormat parses timestamp in RFC3339 format

Jump to

Keyboard shortcuts

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