year 0 means 1 BCE, year -1 means 2 BCE, etc.
Gobo Eiffel Time Library
Copyright (c) 2000-2001, Eric Bezault and others
Eiffel Forum License v2 (see forum.txt)
-- Create a new date from the number
-- of days since epoch (1 Jan 1970).
-- Addition of a_duration to Current
-- (Create a new object at each call.)
-- (From DT_ABSOLUTE_TIME)
-- Duration between other and Current
-- (From DT_ABSOLUTE_TIME)
-- Week number for date of year y, month m and day d,
-- using ISO 8601 specification: weeks start on Monday and
-- week number 1 contains the first Thursday of the year.
-- Dates before the first week of the year have the week
-- number of of last day of the previous year.
-- (From DT_GREGORIAN_CALENDAR)
-- Routines that ought to be in class INTEGER_32
-- (From KL_IMPORTED_INTEGER_ROUTINES)
-- Canonical duration between other and Current
-- Duration between other and Current
-- Day
-- (From DT_DATE_VALUE)
-- Day of week for Current
-- Number of days in Current's month
-- Number of days in Current's previous month
-- Duration between other and Current
-- (From DT_ABSOLUTE_TIME)
-- Addition of a_duration to Current
-- (Create a new object at each call.)
-- Month
-- (From DT_DATE_VALUE)
-- Week number for Current using ISO 8601 specification:
-- weeks start on Monday and week number 1 contains the
-- first Thursday of the year. Dates before the first week
-- of the year have the week number of of last day of
-- the previous year.
-- Year
-- (From DT_DATE_VALUE)
-- Day in current year
-- Routines that ought to be in class STRING_8
-- (From KL_IMPORTED_STRING_ROUTINES)
-- Is current object less than or equal to other?
-- (From PART_COMPARABLE)
-- Is current object greater than other?
-- (From PART_COMPARABLE)
-- Is current object greater than or equal to other?
-- (From PART_COMPARABLE)
-- The greater of current object and other
-- (From COMPARABLE)
-- The smaller of current object and other
-- (From COMPARABLE)
-- If current object equal to other, 0;
-- if smaller, -1; if greater, 1
-- (From COMPARABLE)
-- Is Current before other on the time axis?
-- (From PART_COMPARABLE)
-- May current object be hashed?
-- (True if it is not its type's default.)
-- (From HASHABLE)
-- Is a_week a valid ISO 8601 week in a_year?
-- Weeks start on Monday and week number 1 contains
-- the first Thursday of the year.
-- (From DT_GREGORIAN_CALENDAR)
-- Is year a leap year?
-- Add a_duration to Current.
-- (Add a_duration.year and a_duration.month first, then
-- set day to day.min (days_in_month (new_month, new_year))
-- and finally add a_duration.day.)
-- Add a_duration to Current.
-- (Add a_duration.year and a_duration.month first, then
-- set day to day.min (days_in_month (new_month, new_year))
-- and finally add a_duration.day.)
-- (From DT_ABSOLUTE_TIME)
-- Add y years, m months and d days to Current.
-- (Add y and m first, then set day to
-- day.min (days_in_month (new_month, new_year))
-- and finally add d.)
-- Clone of current object
-- (From KL_CLONABLE)
-- Epoch date (1 Jan 1970)
-- (From KL_GREGORIAN_CALENDAR)
-- Number of days since epoch date (1 Jan 1970)
-- (From KL_GREGORIAN_CALENDAR)
-- Number of days from beginning of year
-- y until beginning of month m
-- (From KL_GREGORIAN_CALENDAR)
-- Months
-- (From KL_GREGORIAN_CALENDAR)
-- Maximum number of days in a month
-- (From KL_GREGORIAN_CALENDAR)
-- Append printable representation
-- (year/month/day) to a_string.
-- (From DT_DATE_VALUE)
-- Printable representation (year/month/day)
-- (From DT_DATE_VALUE)
-- Append printable representation to a_string.
-- The day and month parts are printing with exactly two digits.
-- (From DT_DATE_VALUE)
-- Number of hours in a day
-- (From KL_GREGORIAN_CALENDAR)
-- Number of milliseconds in a day
-- (From KL_GREGORIAN_CALENDAR)
-- Number of minutes in an hour
-- (From KL_GREGORIAN_CALENDAR)
-- Number of seconds in a day
-- (From KL_GREGORIAN_CALENDAR)
-- Number of seconds in an hour
-- (From KL_GREGORIAN_CALENDAR)
-- Number of seconds in a minute
-- (From KL_GREGORIAN_CALENDAR)
-- Number of days in a week
-- (From KL_GREGORIAN_CALENDAR)
-- Week day after d
-- (From KL_GREGORIAN_CALENDAR)
[041224] Use next_day from DT_WEEK_DAY instead.
-- Week day before d
-- (From KL_GREGORIAN_CALENDAR)
[041224] Use previous_day from DT_WEEK_DAY instead.
-- Week days
-- obsolete
-- "[041224] Use DT_WEEK_DAY instead."
-- (From KL_GREGORIAN_CALENDAR)
-- Number of days in multiple years
-- (From KL_GREGORIAN_CALENDAR)
-- Number of days in a (leap) year
-- (From KL_GREGORIAN_CALENDAR)
-- Is y a leap year?
-- (From KL_GREGORIAN_CALENDAR)
-- Number of months in a year
-- ensure
-- definition: Result = (December - Januray + 1)
-- (From KL_GREGORIAN_CALENDAR)
-- Compact version of Current
-- (INTEGER_32 should have at least 32 bits.)
Dates (Gregorian calendar)