Pike v8.1 release 6

Class Calendar.YMD.Year

Inheritance graph
Description

This is the time period of a year.


Inherit TimeRange

inherit TimeRange : TimeRange


Inherit YMD

inherit YMD : YMD


Method create

Calendar.YMD.Year Calendar.YMD.Year("unix", int unix_time)
Calendar.YMD.Year Calendar.YMD.Year("julian", int|float julian_day)
Calendar.YMD.Year Calendar.YMD.Year(int year)
Calendar.YMD.Year Calendar.YMD.Year(string year)
Calendar.YMD.Year Calendar.YMD.Year(TimeRange range)

Description

It's possible to create the standard year by using three different methods; either the normal way - from standard unix time or the julian day, and also, for more practical use, from the year number.