dateutil

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2023 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLastDayOfMonth

func GetLastDayOfMonth(year, month int) int

GetLastDayOfMonth fetch the last day of month.

func GetLeapYear

func GetLeapYear(year int, toFuture bool) int

GetLeapYear returns the previous (or next if `toFuture` is true) leap year from the current year.

func IsLeapYear

func IsLeapYear(year int) bool

IsLeapYear check if the year is a leap year.

Types

This section is empty.

Jump to

Keyboard shortcuts

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