Searched refs:date_time_period (Results 1 – 2 of 2) sorted by relevance
56 struct date_time_period struct63 date_time_period operator+() const { return *this; } in operator +() argument67 date_time_period operator-() const { return date_time_period(type,-value); } in operator -() argument72 … date_time_period(period::period_type f=period::period_type(),int v=1) : type(f), value(v) {} in date_time_period() function158 inline date_time_period era(int v) { return date_time_period(era(),v); } in era()162 inline date_time_period year(int v) { return date_time_period(year(),v); } in year()166 … inline date_time_period extended_year(int v) { return date_time_period(extended_year(),v); } in extended_year()170 inline date_time_period month(int v) { return date_time_period(month(),v); } in month()174 inline date_time_period day(int v) { return date_time_period(day(),v); } in day()178 … inline date_time_period day_of_year(int v) { return date_time_period(day_of_year(),v); } in day_of_year()[all …]
230 date_time date_time::operator+(date_time_period const &v) const in operator +()237 date_time date_time::operator-(date_time_period const &v) const in operator -()244 date_time date_time::operator<<(date_time_period const &v) const in operator <<()251 date_time date_time::operator>>(date_time_period const &v) const in operator >>()258 date_time const &date_time::operator+=(date_time_period const &v) in operator +=()264 date_time const &date_time::operator-=(date_time_period const &v) in operator -=()270 date_time const &date_time::operator<<=(date_time_period const &v) in operator <<=()276 date_time const &date_time::operator>>=(date_time_period const &v) in operator >>=()