date

package
v0.33.5-rc-monkit Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: AGPL-3.0 Imports: 1 Imported by: 1

Documentation

Overview

Package date contains various date-related utilities

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DayBoundary

func DayBoundary(t time.Time) (time.Time, time.Time)

DayBoundary returns start and end of the provided day

func MonthBoundary

func MonthBoundary(t time.Time) (time.Time, time.Time)

MonthBoundary extract month from the provided date and returns its edges

Types

This section is empty.

Jump to

Keyboard shortcuts

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