| 93 | } |
| 94 | |
| 95 | bool operator()(const char* s, size_t length, TimeUnit::type out_unit, int64_t* out, |
| 96 | bool* out_zone_offset_present = NULLPTR) const override { |
| 97 | if (out_zone_offset_present) { |
| 98 | *out_zone_offset_present = have_zone_offset_; |
| 99 | } |
| 100 | return ParseTimestampStrptime(s, length, format_.c_str(), |
| 101 | /*ignore_time_in_day=*/false, |
| 102 | /*allow_trailing_chars=*/false, out_unit, out); |
| 103 | } |
| 104 | |
| 105 | const char* kind() const override { return "strptime"; } |
| 106 |
nothing calls this directly
no test coverage detected