consts

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2026 License: CC0-1.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AbbrevMonthFormat   string = "%b"
	AbbrevWeekdayFormat string = "%a"
	HourMinute24        string = "%H:%M"
	MonthDayFormat      string = "%-d"
	MonthFormat         string = "%B"
	NumericMonthFormat  string = "%m"
	WeekdayFormat       string = "%A"
	YearFormat          string = "%Y"
	YearFormatTwoDigits string = "%g"
	TimezoneUtc         string = "UTC"
)
View Source
const (
	DayInMillis    int64 = 86400000
	HourInMillis   int64 = 3600000
	MinuteInMillis int64 = 60000
	SecondInMillis int64 = 1000
	WeekInMillis   int64 = 604800000
	YearInMillis   int64 = 31449600000
)
View Source
const (
	Format12hour            int = 64
	Format24hour            int = 128
	FormatAbbrevAll         int = 524288
	FormatAbbrevMonth       int = 65536
	FormatAbbrevRelative    int = 262144
	FormatAbbrevTime        int = 16384
	FormatAbbrevWeekday     int = 32768
	FormatCapAmpm           int = 256
	FormatCapMidnight       int = 4096
	FormatCapNoon           int = 1024
	FormatCapNoonMidnight   int = 5120
	FormatNoMidnight        int = 2048
	FormatNoMonthDay        int = 32
	FormatNoNoon            int = 512
	FormatNoNoonMidnight    int = 2560
	FormatNoYear            int = 8
	FormatNumericDate       int = 131072
	FormatShowDate          int = 16
	FormatShowTime          int = 1
	FormatShowWeekday       int = 2
	FormatShowYear          int = 4
	FormatUtc               int = 8192
	LengthLong              int = 10
	LengthMedium            int = 20
	LengthShort             int = 30
	LengthShorter           int = 40
	LengthShortest          int = 50
	Samemonthtable          int = 0
	Sameyeartable           int = 0
	EpochJulianDay          int = 2440588
	Friday                  int = 5
	Hour                    int = 3
	Minute                  int = 2
	Monday                  int = 1
	MondayBeforeJulianEpoch int = 2440585
	Month                   int = 5
	MonthDay                int = 4
	Saturday                int = 6
	Second                  int = 1
	Sunday                  int = 0
	Thursday                int = 4
	Tuesday                 int = 2
	Wednesday               int = 3
	WeekDay                 int = 7
	WeekNum                 int = 9
	Year                    int = 6
	YearDay                 int = 8
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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