src/xs/date.h | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 16 | 50.0 |
line | true | false | branch |
---|---|---|---|
24 | 10 | 0 | static std::string package () { return "Date::Timezone"; } |
31 | 7 | 121 | if (arg.is_object_ref()) return Super::in(arg); |
32 | 0 | 121 | if (!arg) return {}; |
33 | 12 | 109 | if (!arg.is_true()) return panda::time::tzlocal(); |
34 | 109 | 0 | return panda::time::tzget(xs::in |
39 | 0 | 0 | static std::string package () { return "Date"; } |
48 | 0 | 0 | static std::string package () { return "Date::Rel"; } |
14 | 0 | static std::string package () { return "Date::Rel"; } |