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/d360.hpp

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