Changeset 282


Ignore:
Timestamp:
Sep 19, 2009, 5:04:25 PM (11 years ago)
Author:
KOBAYASHI, Shinji
Message:

date and time are seeds of headache

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ruby/branches/0.5/lib/open_ehr/assumed_library_types.rb

    r259 r282  
    117117        (h >= 0 and h < HOURS_IN_DAY) or (h == HOURS_IN_DAY and m == 0 and s == 0)
    118118      end
     119
    119120      def self.valid_minute?(mi)
    120121        mi >= 0 and mi < MINUTES_IN_HOUR
    121122      end
     123
    122124      def self.valid_second?(s)
    123125        s >= 0 and s < SECONDS_IN_MINUTE
    124126      end
     127
    125128      def self.valid_month?(mo)
    126129        mo >= 1 and mo <= MONTH_IN_YEAR
Note: See TracChangeset for help on using the changeset viewer.