The Battle for Wesnoth  1.15.0+dev
Classes | Functions
irdya_datetime.hpp File Reference
#include "utils/make_enum.hpp"
#include <ostream>
#include <string>
#include <vector>
Include dependency graph for irdya_datetime.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  irdya_date
 

Functions

bool operator< (const irdya_date &a, const irdya_date &b)
 
bool operator<= (const irdya_date &a, const irdya_date &b)
 
bool operator> (const irdya_date &a, const irdya_date &b)
 
bool operator>= (const irdya_date &a, const irdya_date &b)
 
bool operator== (const irdya_date &a, const irdya_date &b)
 
bool operator!= (const irdya_date &a, const irdya_date &b)
 
std::ostream & operator<< (std::ostream &s, const irdya_date &d)
 

Function Documentation

◆ operator!=()

bool operator!= ( const irdya_date a,
const irdya_date b 
)

Definition at line 122 of file irdya_datetime.cpp.

References b.

◆ operator<()

bool operator< ( const irdya_date a,
const irdya_date b 
)

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
const irdya_date d 
)

Definition at line 127 of file irdya_datetime.cpp.

References s, and irdya_date::to_string().

◆ operator<=()

bool operator<= ( const irdya_date a,
const irdya_date b 
)

Definition at line 107 of file irdya_datetime.cpp.

References b.

◆ operator==()

bool operator== ( const irdya_date a,
const irdya_date b 
)

Definition at line 117 of file irdya_datetime.cpp.

References irdya_date::get_epoch(), and irdya_date::get_year().

◆ operator>()

bool operator> ( const irdya_date a,
const irdya_date b 
)

Definition at line 102 of file irdya_datetime.cpp.

References a.

◆ operator>=()

bool operator>= ( const irdya_date a,
const irdya_date b 
)

Definition at line 112 of file irdya_datetime.cpp.

References b.