isoweek

package
v0.0.0-...-9808391 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ISO8601

type ISO8601 struct {
	Year int
	Week int
}

ISO8601 holds the number of the week and the year.

func At

func At(t time.Time) ISO8601

At returns the ISO8601 week and year at the given timestamp. The definition for week 01 is the week with the first Thursday of January in it.

Jump to

Keyboard shortcuts

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