dateutil

package
v1.1.13 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AfterOrEqual

func AfterOrEqual(milestone time.Time, date time.Time) bool

func BeforeOrEqual

func BeforeOrEqual(milestone time.Time, date time.Time) bool

func Ceil

func Ceil(t time.Time) time.Time

Ceil - takes a datetime and return a datetime from the same day at 23:59:59 (UTC).

func Floor

func Floor(t time.Time) time.Time

Floor - takes a datetime and return a datetime from the same day at 00:00:00 (UTC).

func Overlap

func Overlap(start1 time.Time, end1 time.Time, start2 time.Time, end2 time.Time) bool

Overlap - returns true if two date intervals overlap.

Types

This section is empty.

Jump to

Keyboard shortcuts

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