Ignore:
Timestamp:
12/10/14 14:27:09 (10 years ago)
Author:
rlacroix
Message:

Add a new attribute type for dates and use it for the context's start_date and time_origin.

The "xios_date" type should now be used to get/set date attributes through the Fortran interface. This avoids using strings to manipulate dates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/date/noleap.hpp

    r501 r532  
    1818            /// Constructeur /// 
    1919//            CNoLeapCalendar(void);                                   // Not implemented yet. 
    20             CNoLeapCalendar(const StdString & dateStr); 
    21             CNoLeapCalendar(const StdString & dateStr,const StdString & timeOriginStr); 
     20            CNoLeapCalendar(const CDate& startDate); 
     21            CNoLeapCalendar(const CDate& startDate, const CDate& timeOrigin); 
    2222            CNoLeapCalendar(int yr = 0, int mth = 1, int d   = 1, 
    2323                            int hr = 0, int min = 0, int sec = 0); 
    24             CNoLeapCalendar(const CNoLeapCalendar & calendar);       // Not implemented yet. 
    25             CNoLeapCalendar(const CNoLeapCalendar * calendar);       // Not implemented yet. 
     24            CNoLeapCalendar(const CNoLeapCalendar& calendar);       // Not implemented yet. 
     25            CNoLeapCalendar(const CNoLeapCalendar* calendar);       // Not implemented yet. 
    2626 
    2727            /// Accesseurs /// 
Note: See TracChangeset for help on using the changeset viewer.