Documentation
¶
Index ¶
- func FlareTimeFormatToGo(format string) (string, error)
- type Time
- func (t *Time) Copy() lang.Object
- func (t *Time) Method(name string) lang.Method
- func (t *Time) Methods() []string
- func (t *Time) SetVariable(_ string, _ lang.Object) error
- func (t *Time) String() string
- func (t *Time) Type() lang.ObjType
- func (t *Time) TypeString() string
- func (t *Time) Value() any
- func (t *Time) Variable(variable string) lang.Object
- func (t *Time) Variables() []string
- type TimeNamespace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FlareTimeFormatToGo ¶
FlareTimeFormatToGo converts a FlareTime format string to a Go format string.
Types ¶
type Time ¶
Time wraps the Go time.Time type
func (*Time) SetVariable ¶
SetVariable sets a variable value
func (*Time) TypeString ¶
type TimeNamespace ¶
type TimeNamespace struct{}
TimeNamespace implements a namespace for time operations
func (*TimeNamespace) Methods ¶
func (*TimeNamespace) Methods() map[string]lang.Method
Methods returns the methods in the namespace
func (*TimeNamespace) Namespace ¶
func (*TimeNamespace) Namespace() string
Namespace returns the name of the namespace
Click to show internal directories.
Click to hide internal directories.