days1970

package
Version: v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL