Ignore:
Timestamp:
Aug 10, 2009, 12:07:11 PM (15 years ago)
Author:
KOBAYASHI, Shinji
Message:

common package is now on rails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ruby/branches/0.5/lib/open_ehr/rm/data_types/quantity/date_time.rb

    r167 r174  
    156156
    157157            def magnitude
    158               seconds = DateTime.new(@year,@month,@day,@hour,@minute,@second) -
    159                 DateTime.new(0000,1,1,0,0,0)
     158              seconds = ::DateTime.new(@year,@month,@day,@hour,@minute,@second) -
     159                ::DateTime.new(0000,1,1,0,0,0)
    160160              if @fractional_second.nil?
    161161                return seconds
Note: See TracChangeset for help on using the changeset viewer.