Changeset 25


Ignore:
Timestamp:
Jan 2, 2006, 9:24:16 AM (15 years ago)
Author:
Peter Johansson
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/tree.cc

    r24 r25  
    1111  using namespace theplu::svnstat;
    1212
    13   tm q;
    14   std::cout << "== tm struct ==" << std::endl;
    15   std::cout << q.tm_sec << std::endl;
    16   std::cout << q.tm_min << std::endl;
    17   std::cout << q.tm_hour << std::endl;
    18   std::cout << q.tm_mday << std::endl;
    19   std::cout << q.tm_mon << std::endl;
    20   std::cout << q.tm_year << std::endl;
    21   std::cout << q.tm_wday << std::endl;
    22   std::cout << q.tm_yday << std::endl;
    23   char* blaj = asctime(&q);
    24   std::cout << *blaj << std::endl;
    25   time_t tjo = mktime(&q);
    26   std::cout << tjo << std::endl;
    27 
    2813  //  bool print = (argc>1 && argv[1]==std::string("-p"));
    2914  bool ok = true;
Note: See TracChangeset for help on using the changeset viewer.