Definition at line 37 of file ctime_read.c.
References time_Ts::doy, EXIT_FAILURE, EXIT_SUCCESS, time_Ts::hour, time_Ts::micsec, time_Ts::milsec, time_Ts::minute, RETURNERROR, time_Ts::second, time_clear(), time_fullyear(), time_norm(), time_setdoy(), and time_Ts::year.
Referenced by libtime::TBaseClassTime::string_read(), and ttime_read().
48 ptr=strpbrk(ptr,
"0123456789");
51 Date->
year=strtol(ptr, &ptr, 10);
53 ptr=strpbrk(ptr,
"0123456789");
56 month=strtol(ptr, &ptr, 10);
58 ptr=strpbrk(ptr,
"0123456789");
61 day=strtol(ptr, &ptr, 10);
63 ptr=strpbrk(ptr,
"0123456789");
65 Date->
hour=strtol(ptr, &ptr, 10);
66 ptr=strpbrk(ptr,
"0123456789");
69 Date->
minute=strtol(ptr, &ptr, 10);
70 ptr=strpbrk(ptr,
"0123456789");
73 Date->
second=strtol(ptr, &ptr, 10);
74 ptr=strpbrk(ptr,
"0123456789");
79 if (isdigit(ptr[i])) {
90 milmicsec=strtol(cmilmicsec, &ptr, 10);
95 if ((month>0 && Date->
year>0) || month>0)
#define RETURNERROR(EXPR, SUB, STR, CODE)
void time_setdoy(timeint day, timeint month, time_Ts *Pdate)
void time_clear(time_Ts *Pdate)
void time_norm(time_Ts *Pdate)
void time_fullyear(timeint *year)