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

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