indexing
description: "Universal constants about dates"
status: "See notice at end of class"
date: "$Date$"
revision: "$Revision$"
access: date
class interface
DATE_CONSTANTS
feature
date_default_format_string: STRING
days_in_i_th_month (i, y: INTEGER): INTEGER
iy
require
i_large_enough: i >= 1
i_small_enough: i <= months_in_year
Days_in_leap_year: INTEGER is 366
Days_in_non_leap_year: INTEGER is 365
Days_in_week: INTEGER is 7
days_text: ARRAY [STRING]
long_days_text: ARRAY [STRING]
long_months_text: ARRAY [STRING]
Max_weeks_in_year: INTEGER is 53
Months_in_year: INTEGER is 12
months_text: ARRAY [STRING]
feature
is_leap_year (y: INTEGER): BOOLEAN
y
invariant
ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)
end -- DATE_CONSTANTS