#pragma once #include "engine/value.hpp" #include namespace htab { // Pure proleptic Gregorian calendar with serial 0 = 1899-12-30. int ymd_to_serial(int year, int month, int day); void serial_to_ymd(int serial, int& year, int& month, int& day); void serial_to_hms(double serial, int& hour, int& minute, int& second); std::string format_value(const Value& val, const std::string& fmt); } // namespace htab