timecalc

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const BASE int = 10

BASE const is the unit base for rounding functions

View Source
const SECONDSDAY int64 = 86400

SECONDSDAY is the amount of seconds in a day

View Source
const SECONDSMONTH int64 = 2.628e+6

SECONDSMONTH is the amount of seconds in a month

Variables

This section is empty.

Functions

func SecondsDay

func SecondsDay(duration int64) int64

SecondsDay returns number of seconds in a day as an int64

func SecondsDayString

func SecondsDayString(duration int64) string

SecondsDayString returns number of seconds in a day as a string

func SecondsMonth

func SecondsMonth(duration int64) int64

SecondsMonth returns number of seconds in a month as an int64

func SecondsMonthString

func SecondsMonthString(duration int64) string

SecondsMonthString returns number of seconds in a month as a string

Types

This section is empty.

Jump to

Keyboard shortcuts

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