hueplusplus
1.0.0
|
#include <chrono>
#include <string>
#include <cstddef>
Go to the source code of this file.
Classes | |
class | hueplusplus::time::AbsoluteTime |
One-time, absolute time point. More... | |
class | hueplusplus::time::AbsoluteVariedTime |
class | hueplusplus::time::Weekdays |
Any number of days of the week. More... | |
class | hueplusplus::time::RecurringTime |
Time repeated weekly to daily, with possible random variation. More... | |
class | hueplusplus::time::TimeInterval |
Time interval repeated daily to weekly. More... | |
class | hueplusplus::time::Timer |
Timer that is started and triggers after specified delay. More... | |
class | hueplusplus::time::TimePattern |
Holds different time representations. More... | |
Namespaces | |
hueplusplus | |
Namespace for the hueplusplus library. | |
hueplusplus::time | |
Namespace for time/date related classes and functions. | |
Functions | |
std::string | hueplusplus::time::timepointToTimestamp (std::chrono::system_clock::time_point time) |
Converts a time_point to a timestamp string. More... | |
std::chrono::system_clock::time_point | hueplusplus::time::parseTimestamp (const std::string ×tamp) |
Converts a timestamp to a time_point. More... | |
std::chrono::system_clock::time_point | hueplusplus::time::parseUTCTimestamp (const std::string ×tamp) |
Converts an UTC timestamp to a time_point. More... | |
std::string | hueplusplus::time::durationTo_hh_mm_ss (std::chrono::system_clock::duration duration) |
Converts duration to a time string. More... | |
std::chrono::system_clock::duration | hueplusplus::time::parseDuration (const std::string &hourMinSec) |
Converts time string to a duration. More... | |
Copyright Notice
Copyright (C) 2020 Jan Rogall - developer
This file is part of hueplusplus.
hueplusplus is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
hueplusplus is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with hueplusplus. If not, see http://www.gnu.org/licenses/.