Skip to content

calendar.h

Baptiste Thémine edited this page Sep 8, 2020 · 16 revisions
#include <JLC/calendar.h>

Description

Utility for ISO 8601 date/time, period and interval manipulation.

Requirements

  • (Mandatory) <cstdio>, <cstdlib>, <iostream>, <stdexcept>, <JLC/debug.h> and <JLC/functions.h> must be included.
  • (Optional) <cstring> and <ctime> enables character sequence and local time functions.

Content

Name Description
class Date Defines a container class of a date/time representation.
class Interval Defines a container class of a range of date/time representations.
class Period Defines a container class of a duration/period representation.
exceptions Provides a set of exceptions used within class Date, class Interval and class Period.
macros Provides a set of constants as preprocessor macros.
namespace calendar Defines the namespace calendar and provides types, constants, exceptions and utility functions for calendar algorithm.
namespace date Defines the namespace date and provides types, constants, exceptions and utility functions for date/time manipulation.
namespace interval Defines the namespace interval and provides types, constants, exceptions and utility functions for interval manipulation.
namespace period Defines the namespace period and provides types, constants, exceptions and utility functions for period manipulation.

See also

Clone this wiki locally