Changeset 69 for ruby/trunk/lib/models/assumed_library_types.rb
- Timestamp:
- Jun 11, 2008, 11:24:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ruby/trunk/lib/models/assumed_library_types.rb
r21 r69 1 1 module OpenEHR 2 2 module Assumed_Library_Types 3 class Interval 3 class Any < Object 4 5 end # of Any 6 class Interval < Any 4 7 attr_reader :lower, :lower_included, :lower_unbounded 5 8 attr_reader :upper, :upper_included, :upper_unbounded … … 58 61 @lower = lower 59 62 @upper = upper 60 end 61 end 62 end 63 end 63 end 64 end # end of Interval 65 66 class TIME_DEFINITIONS < Any 67 DAYS_IN_LEAP_YEAR = 366 68 DAYS_IN_WEEK = 7 69 DAYS_IN_YEAR = 365 70 HOURS_IN_DAY = 24 71 MAX_DAYS_IN_MONTH = 31 72 MAX_DAYS_IN_YEAR = 366 73 MINUTES_IN_HOUR = 60 74 MONTH_IN_YEAR = 12 75 NOMINAL_DAYS_IN_MONTH = 30.42 76 NOMINAL_DAYS_IN_YEAR = 365.24 77 SECONDS_IN_MINUTE = 60 78 end # end of TIME_DEFINITIONS 79 80 class ISO_8601_DATE < TIME_DEFINITIONS 81 82 end # end of ISO_8601_DATE 83 end # end of Assumed_Types 84 end # end of OpenEHR
Note:
See TracChangeset
for help on using the changeset viewer.