conversions

package module
v0.0.0-...-1814ede Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckLeapYear

func CheckLeapYear(year int) bool

func ConvertDay

func ConvertDay(day int) string

func ConvertMonth

func ConvertMonth(month int) string

func ConvertTime

func ConvertTime(hour int, minute int, second int) string

func DaysCapacity

func DaysCapacity(month int, year int) int

Types

type IDate

type IDate struct {
	Current string
	// Format: day, month, year, hour, minute, second
	Custom func(int, int, int, int, int, int) string
}

func Date

func Date() *IDate

type IStringBuilder

type IStringBuilder struct {
	Append func(string) *IStringBuilder
	Build  func() string
}

func StringBuilder

func StringBuilder(origin string) *IStringBuilder

type IStringify

type IStringify struct {
	Complex64ToString  func(complex64) string
	Complex128ToString func(complex128) string
	Float32ToString    func(float32) string
	Float64ToString    func(float64) string
	IntToString        func(int) string
	Int8ToString       func(int8) string
	Int16ToString      func(int16) string
	Int32ToString      func(int32) string
	Int64ToString      func(int64) string
	RuneToString       func(rune) string
	UIntToString       func(uint) string
	UIntPtrToString    func(uintptr) string
	UInt8ToString      func(uint8) string
	UInt16ToString     func(uint16) string
	UInt32ToString     func(uint32) string
	UInt64ToString     func(uint64) string
}

func Stringify

func Stringify() *IStringify

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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