File: doc.go

package info (click to toggle)
golang-github-rickb777-date 1.20.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 460 kB
  • sloc: sh: 63; makefile: 3
file content (16 lines) | stat: -rw-r--r-- 850 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2016 Rick Beton. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Package gregorian provides utility functions for the Gregorian calendar calculations.
// The Gregorian calendar was officially introduced on 15th October 1582 so, strictly speaking,
// it only applies after that date. Some countries did not switch to the Gregorian calendar
// for many years after (such as Great Britain in 1782).
//
// Extending the Gregorian calendar backwards to dates preceding its official introduction
// produces a proleptic calendar that should be used with some caution for historic dates
// because it can lead to confusion.
//
// See https://en.wikipedia.org/wiki/Gregorian_calendar
// https://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar
package gregorian