util

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Time

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

func (*Time) Add

func (t *Time) Add(msec int) *Time

func (*Time) AddDate

func (t *Time) AddDate(years int, months int, days int) *Time

func (*Time) After

func (t *Time) After(u *Time) bool

func (*Time) Before

func (t *Time) Before(u *Time) bool

func (*Time) Compare

func (t *Time) Compare(u *Time) int

func (*Time) Day

func (t *Time) Day() int

func (*Time) Equal

func (t *Time) Equal(u *Time) bool

func (*Time) Format

func (t *Time) Format(fmt *string) string

func (*Time) Hour

func (t *Time) Hour() int

func (*Time) ISOWeek

func (t *Time) ISOWeek() (year, week int)

func (*Time) Local

func (t *Time) Local() *Time

func (*Time) Location

func (t *Time) Location() string

func (*Time) Millisecond

func (t *Time) Millisecond() int

func (*Time) Minute

func (t *Time) Minute() int

func (*Time) Month

func (t *Time) Month() int

func (*Time) Second

func (t *Time) Second() int

func (*Time) String

func (t *Time) String() string

func (*Time) Sub

func (t *Time) Sub(u *Time) int

func (*Time) UTC

func (t *Time) UTC() *Time

func (*Time) Unix

func (t *Time) Unix() int64

func (*Time) Weekday

func (t *Time) Weekday() int

func (*Time) Year

func (t *Time) Year() int

func (*Time) YearDay

func (t *Time) YearDay() int

func (*Time) Zone

func (t *Time) Zone() string

func (*Time) ZoneOffset

func (t *Time) ZoneOffset() int

Jump to

Keyboard shortcuts

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