datatypes

package
v5.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Number data type
	Number = "NUMBER"
	// Datetime data type
	Datetime = "DATETIME"
)

Variables

This section is empty.

Functions

func TsFromJava

func TsFromJava(ts int64) int64

TsFromJava converts a java timestamp to standard unix format

func ZeroSecondsTS

func ZeroSecondsTS(ts int64) int64

ZeroSecondsTS Takes a timestamp in milliseconds as a parameter and returns another timestamp in seconds with the same date & time but zero seconds.

func ZeroTimeTS

func ZeroTimeTS(ts int64) int64

ZeroTimeTS Takes a timestamp in milliseconds as a parameter and returns another timestamp in seconds with the same date and zero time.

Types

This section is empty.

Jump to

Keyboard shortcuts

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