month

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package month provides utilities for handling months.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FirstDay

func FirstDay(d civil.Date) civil.Date

func Format

func Format(d civil.Date) string

func LastDay

func LastDay(d civil.Date) civil.Date

func Next

func Next(d civil.Date) civil.Date

Next returns the first day of the next month.

func Now

func Now() civil.Date

func Parse

func Parse(s string) (civil.Date, error)

func Prev

func Prev(d civil.Date) civil.Date

Prev returns the first day of the previous month.

Types

This section is empty.

Jump to

Keyboard shortcuts

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