Ignore:
Timestamp:
02/23/12 14:57:50 (12 years ago)
Author:
ymipsl
Message:

Add splitting file functionality
new file attribut "split_freq" to put the frequency of splitting

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/date.cpp

    r316 r321  
    194194      //---------------------------------------------------------------- 
    195195       
     196      StdString CDate::getStryyyymmdd(void) const 
     197      {  
     198         std::streamsize s ;  
     199         char c ; 
     200 
     201         ostringstream oss ; 
     202 
     203         s = oss.width (4);  c = oss.fill ('0') ; oss << year ; 
     204         s = oss.width (2);  c = oss.fill ('0') ; oss << month; 
     205         s = oss.width (2);  c = oss.fill ('0') ; oss << day ; 
     206 
     207         return oss.str(); 
     208      } 
     209       
    196210       StdString CDate::toString(void) const 
    197211      {  
Note: See TracChangeset for help on using the changeset viewer.