Changeset 25
- Timestamp:
- Jan 2, 2006, 9:24:16 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/tree.cc
r24 r25 11 11 using namespace theplu::svnstat; 12 12 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 28 13 // bool print = (argc>1 && argv[1]==std::string("-p")); 29 14 bool ok = true;
Note: See TracChangeset
for help on using the changeset viewer.