date

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Partial

type Partial struct {
	// contains filtered or unexported fields
}

func NewPartial

func NewPartial(str string) (Partial, error)

func (Partial) Day

func (d Partial) Day() optional.Optional[int8]

func (Partial) HasValue

func (d Partial) HasValue() bool

func (Partial) Hour

func (d Partial) Hour() optional.Optional[int8]

func (Partial) Minute

func (d Partial) Minute() optional.Optional[int8]

func (Partial) Month

func (d Partial) Month() optional.Optional[int8]

func (Partial) Second

func (d Partial) Second() optional.Optional[int8]

func (Partial) ToISOString

func (d Partial) ToISOString() string

func (Partial) Year

func (d Partial) Year() optional.Optional[int32]

Jump to

Keyboard shortcuts

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