Ignore:
Timestamp:
03/30/12 17:06:38 (12 years ago)
Author:
ymipsl
Message:

remove "date" namespace

ym

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/context.cpp

    r335 r343  
    6363   //---------------------------------------------------------------- 
    6464 
    65    boost::shared_ptr<date::CCalendar> CContext::getCalendar(void) const 
     65   boost::shared_ptr<CCalendar> CContext::getCalendar(void) const 
    6666   { 
    6767      return (this->calendar); 
     
    7070   //---------------------------------------------------------------- 
    7171    
    72    void CContext::setCalendar(boost::shared_ptr<date::CCalendar> newCalendar) 
     72   void CContext::setCalendar(boost::shared_ptr<CCalendar> newCalendar) 
    7373   { 
    7474      this->calendar = newCalendar; 
     
    9191   {                                                                  \ 
    9292      if (time_origin.isEmpty())                                       \ 
    93         this->calendar =  boost::shared_ptr<date::CCalendar>          \ 
    94            (new date::C##MType##Calendar(start_date.getValue()));     \ 
    95       else this->calendar =  boost::shared_ptr<date::CCalendar>       \ 
    96            (new date::C##MType##Calendar(start_date.getValue(),time_origin.getValue()));     \ 
     93        this->calendar =  boost::shared_ptr<CCalendar>          \ 
     94           (new C##MType##Calendar(start_date.getValue()));     \ 
     95      else this->calendar =  boost::shared_ptr<CCalendar>       \ 
     96           (new C##MType##Calendar(start_date.getValue(),time_origin.getValue()));     \ 
    9797      if (!this->timestep.isEmpty())                                  \ 
    9898       this->calendar->setTimeStep                                    \ 
    99           (date::CDuration::FromString(this->timestep.getValue()));   \ 
     99          (CDuration::FromString(this->timestep.getValue()));   \ 
    100100      return;                                                         \ 
    101101   } 
Note: See TracChangeset for help on using the changeset viewer.