datatype

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IntDate

type IntDate int

func ParseIntDate

func ParseIntDate(value string, required bool) (IntDate, error)

func ToIntDate

func ToIntDate(t *time.Time) IntDate

func Today

func Today(loc *time.Location) IntDate

func (IntDate) AddDays

func (dt IntDate) AddDays(days int) IntDate

func (IntDate) Day

func (dt IntDate) Day() int

func (IntDate) IsNil

func (dt IntDate) IsNil() bool

func (IntDate) IsToday

func (dt IntDate) IsToday(loc *time.Location) bool

func (IntDate) IsValid

func (dt IntDate) IsValid() bool

func (IntDate) Month

func (dt IntDate) Month() int

func (IntDate) String

func (dt IntDate) String() string

func (IntDate) ToDateTime

func (dt IntDate) ToDateTime(endDay bool, loc *time.Location) time.Time

func (IntDate) Year

func (dt IntDate) Year() int

Jump to

Keyboard shortcuts

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