timeext

package
v0.0.0-...-0c7f176 Latest Latest
Warning

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

Go to latest
Published: May 21, 2014 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const ISO8601 = "2006-01-02" // date format ISO 8601
View Source
const OneDay = 24 * 60 * 60

Variables

This section is empty.

Functions

func FixWeekdaysInterval

func FixWeekdaysInterval(start_date time.Time, end_date time.Time) (time.Time, time.Time)

with a date interval calculates an equal date interval accounting only weekdays

func ParseDate

func ParseDate(input string) (time.Time, error)

Parse a date on ISO8601 format: YYYY-MM-DD

Types

This section is empty.

Jump to

Keyboard shortcuts

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