line |
true |
false |
branch |
21
|
0 |
0 |
Date date; |
22
|
0 |
0 |
for (int i = 0; i < 1000; ++i) date.set(str); |
|
0 |
0 |
for (int i = 0; i < 1000; ++i) date.set(str); |
26
|
0 |
0 |
DateRel rel; |
27
|
0 |
0 |
for (int i = 0; i < 1000; ++i) rel = str; |
|
0 |
0 |
for (int i = 0; i < 1000; ++i) rel = str; |
31
|
0 |
0 |
auto date = Date::now(); |
34
|
0 |
0 |
for (int i = 0; i < 1000; ++i) { |
35
|
0 |
0 |
auto res = date.strftime(format); |
42
|
0 |
0 |
for (int i = 0; i < 1000; ++i) RETVAL += (uint64_t)panda::time::tzget(tz).get(); |
|
0 |
0 |
for (int i = 0; i < 1000; ++i) RETVAL += (uint64_t)panda::time::tzget(tz).get(); |
46
|
0 |
0 |
for (int i = 0; i < 1000; ++i) Scope::Hints::exists(xs::date::strict_hint_name); |
50
|
0 |
0 |
RETVAL = Scope::Hints::exists(xs::date::strict_hint_name); |
58
|
0 |
0 |
if (ix == 0) while(epoch++ < max_epoch) gmtime(epoch, &date); |
|
0 |
0 |
if (ix == 0) while(epoch++ < max_epoch) gmtime(epoch, &date); |
|
0 |
0 |
if (ix == 0) while(epoch++ < max_epoch) gmtime(epoch, &date); |
59
|
0 |
0 |
else if (ix == 1) while(epoch++ < max_epoch) localtime(epoch, &date); |
|
0 |
0 |
else if (ix == 1) while(epoch++ < max_epoch) localtime(epoch, &date); |
|
0 |
0 |
else if (ix == 1) while(epoch++ < max_epoch) localtime(epoch, &date); |
61
|
0 |
0 |
RETVAL = Array::create(); |
62
|
0 |
0 |
RETVAL.push(Simple(date.sec)); |
|
0 |
0 |
RETVAL.push(Simple(date.sec)); |
63
|
0 |
0 |
RETVAL.push(Simple(date.min)); |
|
0 |
0 |
RETVAL.push(Simple(date.min)); |
64
|
0 |
0 |
RETVAL.push(Simple(date.hour)); |
|
0 |
0 |
RETVAL.push(Simple(date.hour)); |
65
|
0 |
0 |
RETVAL.push(Simple(date.mday)); |
|
0 |
0 |
RETVAL.push(Simple(date.mday)); |
66
|
0 |
0 |
RETVAL.push(Simple(date.mon)); |
|
0 |
0 |
RETVAL.push(Simple(date.mon)); |
67
|
0 |
0 |
RETVAL.push(Simple(date.year)); |
|
0 |
0 |
RETVAL.push(Simple(date.year)); |
68
|
0 |
0 |
RETVAL.push(Simple(date.wday)); |
|
0 |
0 |
RETVAL.push(Simple(date.wday)); |
69
|
0 |
0 |
RETVAL.push(Simple(date.yday)); |
|
0 |
0 |
RETVAL.push(Simple(date.yday)); |
70
|
0 |
0 |
RETVAL.push(Simple(date.isdst)); |
|
0 |
0 |
RETVAL.push(Simple(date.isdst)); |
71
|
0 |
0 |
RETVAL.push(Simple(date.gmtoff)); |
|
0 |
0 |
RETVAL.push(Simple(date.gmtoff)); |
72
|
0 |
0 |
RETVAL.push(Simple(date.zone)); |
|
0 |
0 |
RETVAL.push(Simple(date.zone)); |
78
|
0 |
0 |
if (ix == 0) while(epoch++ < max_epoch) gmtime_r(&epoch, &date); |
|
0 |
0 |
if (ix == 0) while(epoch++ < max_epoch) gmtime_r(&epoch, &date); |
79
|
0 |
0 |
else if (ix == 1) while(epoch++ < max_epoch) localtime_r(&epoch, &date); |
|
0 |
0 |
else if (ix == 1) while(epoch++ < max_epoch) localtime_r(&epoch, &date); |
81
|
0 |
0 |
RETVAL = Array::create(); |
82
|
0 |
0 |
RETVAL.push(Simple(date.tm_sec)); |
|
0 |
0 |
RETVAL.push(Simple(date.tm_sec)); |
83
|
0 |
0 |
RETVAL.push(Simple(date.tm_min)); |
|
0 |
0 |
RETVAL.push(Simple(date.tm_min)); |
84
|
0 |
0 |
RETVAL.push(Simple(date.tm_hour)); |
|
0 |
0 |
RETVAL.push(Simple(date.tm_hour)); |
85
|
0 |
0 |
RETVAL.push(Simple(date.tm_mday)); |
|
0 |
0 |
RETVAL.push(Simple(date.tm_mday)); |
86
|
0 |
0 |
RETVAL.push(Simple(date.tm_mon)); |
|
0 |
0 |
RETVAL.push(Simple(date.tm_mon)); |
87
|
0 |
0 |
RETVAL.push(Simple(date.tm_year)); |
|
0 |
0 |
RETVAL.push(Simple(date.tm_year)); |
88
|
0 |
0 |
RETVAL.push(Simple(date.tm_wday)); |
|
0 |
0 |
RETVAL.push(Simple(date.tm_wday)); |
89
|
0 |
0 |
RETVAL.push(Simple(date.tm_yday)); |
|
0 |
0 |
RETVAL.push(Simple(date.tm_yday)); |
90
|
0 |
0 |
RETVAL.push(Simple(date.tm_isdst)); |
|
0 |
0 |
RETVAL.push(Simple(date.tm_isdst)); |
91
|
0 |
0 |
RETVAL.push(Simple(date.tm_gmtoff)); |
|
0 |
0 |
RETVAL.push(Simple(date.tm_gmtoff)); |
92
|
0 |
0 |
RETVAL.push(Simple(date.tm_zone)); |
|
0 |
0 |
RETVAL.push(Simple(date.tm_zone)); |
110
|
0 |
0 |
else if (ix == 1) while (i++ < cnt) RETVAL += timegml(&date); |
|
0 |
0 |
else if (ix == 1) while (i++ < cnt) RETVAL += timegml(&date); |
|
0 |
0 |
else if (ix == 1) while (i++ < cnt) RETVAL += timegml(&date); |
111
|
0 |
0 |
else if (ix == 2) while (i++ < cnt) RETVAL += timelocal(&date); |
|
0 |
0 |
else if (ix == 2) while (i++ < cnt) RETVAL += timelocal(&date); |
|
0 |
0 |
else if (ix == 2) while (i++ < cnt) RETVAL += timelocal(&date); |
112
|
0 |
0 |
else if (ix == 3) while (i++ < cnt) RETVAL += timelocall(&date); |
|
0 |
0 |
else if (ix == 3) while (i++ < cnt) RETVAL += timelocall(&date); |
|
0 |
0 |
else if (ix == 3) while (i++ < cnt) RETVAL += timelocall(&date); |
113
|
0 |
0 |
} |
|
0 |
0 |
} |
|
0 |
0 |
} |
129
|
0 |
0 |
if (ix == 0) while (i++ < cnt) RETVAL += timegm(&date); |
|
0 |
0 |
if (ix == 0) while (i++ < cnt) RETVAL += timegm(&date); |
130
|
0 |
0 |
else if (ix == 1) while (i++ < cnt) RETVAL += timelocal(&date); |
|
0 |
0 |
else if (ix == 1) while (i++ < cnt) RETVAL += timelocal(&date); |