13#if defined(LECUI_EXPORTS)
16#include <liblec/lecui/form.h>
Interact with date/time.
Definition: date_time.h:22
static unsigned short month_from_string(std::string m)
Get month from string.
static std::string month_to_string(unsigned short m)
Get month in the form of a string.
static void get_week(const date dt, date &start, date &end)
Get the start and end days of the week for a given date.
static std::string to_string(date dt)
Get date in the form of a string.
static date last_day_of_month(const date &dt)
Get the last day of the month for a given date.
static unsigned short day_of_week(date dt)
Get the day of the week for a given date.
static void get_year(const date dt, date &start, date &end)
Get the start and end days of the year for a given date.
static std::string time_stamp()
Make timestamp from current local time in the form 20190802 20:48:06.
static date from_string(const std::string &dt)
Parse date from a date string.
static std::string weekday_to_string(unsigned short d)
Get week day in the form of a string.
static date today()
Get the current local date.
static void get_month(const date dt, date &start, date &end)
Get the start and end days of the month for a given date.
static date add_days(date dt, int n)
Add days to a given date.
Top level namespace for the liblec libraries.
Definition: appearance.h:19
Date class.
Definition: lecui.h:904