Skip to content

calendar.h ~ calendar ~ constants

Baptiste Thémine edited this page Aug 6, 2020 · 4 revisions
namespace calendar::constants { /* declarations */ }

Description

Contains all calendar constants.

Implementation

using month::january;
using month::february;
using month::march;
using month::april;
using month::may;
using month::june;
using month::july;
using month::august;
using month::september;
using month::october;
using month::november;
using month::december;
using day_of_week::monday;
using day_of_week::tuesday;
using day_of_week::wednesday;
using day_of_week::thursday;
using day_of_week::friday;
using day_of_week::saturday;
using day_of_week::sunday;
using timezone::UTC;
using timezone::UTCLTZ;

Examples

#include <JLC/JLC.h>
using namespace JLC;
using namespace calendar::constants;

int main(){
    std::cout << january << std::endl;
    std::cout << tuesday << std::endl;
    std::cout << UTC << std::endl;
}
1
2
0

See also

Clone this wiki locally