5#ifndef TABLEAU_HYPER_DATE_HPP 
    6#define TABLEAU_HYPER_DATE_HPP 
   11#include <hyperapi/hyperapi.h> 
   38   Date(int32_t year, std::int16_t month, std::int16_t day) 
noexcept;
 
   45   explicit Date(hyper_date_t rawDate, 
raw_t) 
noexcept;
 
   52   std::int16_t 
getDay() const noexcept;
 
   78   hyper_date_t 
getRaw() const noexcept;
 
   82   friend 
bool operator==(const 
Date& a, const 
Date& b) noexcept;
 
   86   friend 
bool operator>(const 
Date& a, const 
Date& b) noexcept;
 
   90   friend 
bool operator!=(const 
Date& a, const 
Date& b) noexcept { 
return !(a == b); }
 
  113   friend struct internal::ValueInserter;
 
  118   hyper_date_t representation_ = 0;
 
  121   hyper_date_components_t date_ = {0, 0, 0};
 
  125#include <hyperapi/impl/Date.impl.hpp> 
friend bool operator>=(const Date &a, const Date &b) noexcept
Greater or equal operator.
 
Date() noexcept
Default constructor.
 
friend std::ostream & operator<<(std::ostream &os, const Date &obj)
Stream output operator.
 
std::int16_t getDay() const noexcept
Gets the day.
 
std::int16_t getMonth() const noexcept
Gets the month.
 
Date(int32_t year, std::int16_t month, std::int16_t day) noexcept
Creates a date value.
 
friend bool operator<=(const Date &a, const Date &b) noexcept
Less than or equal operator.
 
std::string toString() const
Gets a string representation for debugging.
 
hyper_date_t getRaw() const noexcept
Gets the raw date value (i.e., the Julian Day).
 
Date(hyper_date_t rawDate, raw_t) noexcept
Creates a date value from a raw date value (i.e., a Julian Day).
 
friend bool operator<(const Date &a, const Date &b) noexcept
Less than operator.
 
std::int32_t getYear() const noexcept
Gets the year.
 
Marker struct for the raw timestamp constructor.
 
A timestamp data value with an offset to UTC.
 
The primary namespace of the Hyper API for C++.