9 auto full_day = std::chrono::seconds(24 * 3600);
11 if (t.seconds() < full_day) {
14 std::ostringstream os;
15 os <<
"out of range seconds_field <" << t.seconds().count()
16 <<
"> expected value in [0," << full_day.count() <<
") range";
17 throw std::range_error(os.str());
28 return os << std::setw(2) << std::setfill(
'0') << hh <<
':' << std::setw(2)
29 << std::setfill(
'0') << mm <<
':' << std::setw(2)
30 << std::setfill(
'0') << ss;
Represent a ITCH-5.0 seconds_field.
void check_seconds_field_range< true >(seconds_field const &t)
Provide an active implementation of jb::itch5::check_seconds_field_range<>
std::ostream & operator<<(std::ostream &os, add_order_message const &x)
Streaming operator for jb::itch5::add_order_message.