days1970

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Days

type Days struct {
	// contains filtered or unexported fields
}

Helper for fast calculate days count from 1970-01-01 in local timezone Not thread-safe!

func (*Days) Timestamp

func (dd *Days) Timestamp(timestamp uint32) uint16

func (*Days) TimestampWithNow

func (dd *Days) TimestampWithNow(timestamp uint32, now uint32) uint16

Jump to

Keyboard shortcuts

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