DAW JSON Link
Classes | Namespaces | Functions
daw_json_parse_iso8601_utils.h File Reference
#include "version.h"
#include "daw_json_assert.h"
#include "daw_json_parse_digit.h"
#include <daw/daw_arith_traits.h>
#include <daw/daw_cpp_feature_check.h>
#include <daw/daw_string_view.h>
#include <daw/daw_traits.h>
#include <daw/daw_uint_buffer.h>
#include <chrono>
#include <ciso646>
#include <cstdint>

Go to the source code of this file.

Classes

struct  daw::json::DAW_JSON_VER::datetime::date_parts
 
struct  daw::json::DAW_JSON_VER::datetime::time_parts
 
struct  daw::json::DAW_JSON_VER::datetime::ymdhms
 

Namespaces

 daw
 
 daw::json
 
 daw::json::DAW_JSON_VER
 
 daw::json::DAW_JSON_VER::datetime
 
 daw::json::DAW_JSON_VER::datetime::datetime_details
 
 daw::json::DAW_JSON_VER::parse_utils
 

Functions

template<typename Clock = std::chrono::system_clock, typename Duration = std::chrono::milliseconds>
constexpr std::chrono::time_point< Clock, Duration > daw::json::DAW_JSON_VER::datetime::civil_to_time_point (std::int_least32_t yr, std::uint_least32_t mo, std::uint_least32_t dy, std::uint_least32_t hr, std::uint_least32_t mn, std::uint_least32_t se, std::uint_least32_t ms)
 
constexpr bool daw::json::DAW_JSON_VER::parse_utils::is_number (char c)
 
constexpr std::uint_least32_t daw::json::DAW_JSON_VER::datetime::datetime_details::month2num (std::string_view ts)
 
constexpr std::string_view daw::json::DAW_JSON_VER::datetime::month_short_name (unsigned m)
 
template<typename Bounds , std::ptrdiff_t Ex>
constexpr std::chrono::time_point< std::chrono::system_clock, std::chrono::milliseconds > daw::json::DAW_JSON_VER::datetime::parse_iso8601_timestamp (daw::basic_string_view< char, Bounds, Ex > ts)
 
template<typename Bounds , std::ptrdiff_t Ex>
constexpr date_parts daw::json::DAW_JSON_VER::datetime::parse_iso_8601_date (daw::basic_string_view< char, Bounds, Ex > timestamp_str)
 
template<typename Bounds , std::ptrdiff_t Ex>
constexpr time_parts daw::json::DAW_JSON_VER::datetime::parse_iso_8601_time (daw::basic_string_view< char, Bounds, Ex > timestamp_str)
 
template<typename Result , typename Bounds , std::ptrdiff_t Ex>
constexpr Result daw::json::DAW_JSON_VER::datetime::datetime_details::parse_number (daw::basic_string_view< char, Bounds, Ex > sv)
 
constexpr unsigned daw::json::DAW_JSON_VER::datetime::parse_short_month (std::string_view ts)
 
template<typename Result , std::size_t count>
constexpr Result daw::json::DAW_JSON_VER::parse_utils::parse_unsigned (char const *digit_str)
 
template<typename Result >
constexpr Result daw::json::DAW_JSON_VER::parse_utils::parse_unsigned2 (char const *digit_str)
 
template<typename Duration >
constexpr std::string_view daw::json::DAW_JSON_VER::datetime::short_day_of_week (std::chrono::time_point< std::chrono::system_clock, Duration > tp)
 
template<typename Clock , typename Duration >
constexpr ymdhms daw::json::DAW_JSON_VER::datetime::time_point_to_civil (std::chrono::time_point< Clock, Duration > const &tp)