Changeset 204


Ignore:
Timestamp:
Sep 10, 2006, 11:03:48 AM (17 years ago)
Author:
Peter Johansson
Message:

removed debug code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/utility.cc

    r201 r204  
    100100    year=atoi(tmp.c_str());
    101101    timeinfo->tm_year = year - 1900;
    102     std::cout << tmp << " " << year << std::endl;
    103102
    104103    getline(sstream,tmp,'-');
    105104    month=atoi(tmp.c_str());
    106105    timeinfo->tm_mon = month - 1;
    107     std::cout << tmp << " " << month << std::endl;
    108106
    109107    getline(sstream,tmp,'T');
    110108    day=atoi(tmp.c_str());
    111109    timeinfo->tm_mday = day;
    112     std::cout << tmp << " " << day << std::endl;
    113110
    114111    getline(sstream,tmp,':');
    115112    hour=atoi(tmp.c_str());
    116113    timeinfo->tm_hour = hour;
    117     std::cout << tmp << " " << hour << std::endl;
    118114
    119115    getline(sstream,tmp,':');
    120116    minute=atoi(tmp.c_str());
    121117    timeinfo->tm_min = minute;
    122     std::cout << tmp << " " << minute << std::endl;
    123118
    124119    getline(sstream,tmp,'.');
    125120    second=atoi(tmp.c_str());
    126121    timeinfo->tm_sec = second;
    127     std::cout << tmp << " " << second << std::endl;
    128122
    129123    return mktime(timeinfo);
Note: See TracChangeset for help on using the changeset viewer.