Help us shape the future of Go! Take the 2026 Go Developer Survey

datetime

package module
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WI_DATETIME_LOCATION         string = "FLOGO_DATETIME_LOCATION"
	WI_DATETIME_LOCATION_DEFAULT string = "UTC"
)
View Source
const DateFormatDefault = "2006-01-02-07:00"
View Source
const DateTimeFormatDefault string = "2006-01-02T15:04:05-07:00"
View Source
const TimeFormatDefault string = "15:04:05-07:00"

Variables

This section is empty.

Functions

func GetLocation

func GetLocation() string

Types

type CurrentDate

type CurrentDate struct {
}

func (*CurrentDate) Eval

func (s *CurrentDate) Eval(d ...interface{}) (interface{}, error)

func (*CurrentDate) Name

func (s *CurrentDate) Name() string

func (*CurrentDate) Sig

func (s *CurrentDate) Sig() (paramTypes []data.Type, isVariadic bool)

type CurrentDatetime

type CurrentDatetime struct {
}

func (*CurrentDatetime) Eval

func (s *CurrentDatetime) Eval(d ...interface{}) (interface{}, error)

func (*CurrentDatetime) GetCategory

func (s *CurrentDatetime) GetCategory() string

func (*CurrentDatetime) Name

func (s *CurrentDatetime) Name() string

func (*CurrentDatetime) Sig

func (s *CurrentDatetime) Sig() (paramTypes []data.Type, isVariadic bool)

type CurrentTime

type CurrentTime struct {
}

func (*CurrentTime) Eval

func (s *CurrentTime) Eval(d ...interface{}) (interface{}, error)

func (*CurrentTime) GetCategory

func (s *CurrentTime) GetCategory() string

func (*CurrentTime) Name

func (s *CurrentTime) Name() string

func (*CurrentTime) Sig

func (s *CurrentTime) Sig() (paramTypes []data.Type, isVariadic bool)

type FormatDate

type FormatDate struct {
}

func (*FormatDate) Eval

func (s *FormatDate) Eval(params ...interface{}) (interface{}, error)

func (*FormatDate) GetCategory

func (s *FormatDate) GetCategory() string

func (*FormatDate) Name

func (s *FormatDate) Name() string

func (*FormatDate) Sig

func (s *FormatDate) Sig() (paramTypes []data.Type, isVariadic bool)

type FormatDatetime

type FormatDatetime struct {
}

func (*FormatDatetime) Eval

func (s *FormatDatetime) Eval(params ...interface{}) (interface{}, error)

func (*FormatDatetime) GetCategory

func (s *FormatDatetime) GetCategory() string

func (*FormatDatetime) Name

func (s *FormatDatetime) Name() string

func (*FormatDatetime) Sig

func (s *FormatDatetime) Sig() (paramTypes []data.Type, isVariadic bool)

type FormatTime

type FormatTime struct {
}

func (*FormatTime) Eval

func (s *FormatTime) Eval(params ...interface{}) (interface{}, error)

func (*FormatTime) GetCategory

func (s *FormatTime) GetCategory() string

func (*FormatTime) Name

func (s *FormatTime) Name() string

func (*FormatTime) Sig

func (s *FormatTime) Sig() (paramTypes []data.Type, isVariadic bool)

type Now

type Now struct {
}

func (*Now) Eval

func (s *Now) Eval(params ...interface{}) (interface{}, error)

func (*Now) GetCategory

func (s *Now) GetCategory() string

func (*Now) Name

func (s *Now) Name() string

func (*Now) Sig

func (s *Now) Sig() (paramTypes []data.Type, isVariadic bool)

Jump to

Keyboard shortcuts

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