* timezone, only helps to know the valid TZ values and shows how to change
* the timezone settings if you would want to do that).
*/
* timezone, only helps to know the valid TZ values and shows how to change
* the timezone settings if you would want to do that).
*/
- void store(const time_t & unixTimestamp) throw();
- void storeUnix(const time_t & unixTimestamp) throw() { store(unixTimestamp); }
+ void store(const time_t & unixTimestamp) ;
+ void storeUnix(const time_t & unixTimestamp) { store(unixTimestamp); }
* @param TZ timezone for date/time provided. Default (NULL) assumes the system
* timezone configuration. Empty string will be interpreted as UTC timezone.
*/
* @param TZ timezone for date/time provided. Default (NULL) assumes the system
* timezone configuration. Empty string will be interpreted as UTC timezone.
*/
* @param strptimeFormat Date/time string format for strptime primitive.
* See format syntax at http://man7.org/linux/man-pages/man3/strptime.3.html
*/
* @param strptimeFormat Date/time string format for strptime primitive.
* See format syntax at http://man7.org/linux/man-pages/man3/strptime.3.html
*/
- void store(const std::string &stringDate, const char *TZ = NULL, const char *strptimeFormat = "%Y%m%d%H%M%S") throw(anna::RuntimeException);
- //void store(const std::string &stringDate, const char *tz = NULL, const char *strptimeFormat = "%Y-%m-%d-%H-%M-%S") throw(anna::RuntimeException);
+ void store(const std::string &stringDate, const char *TZ = NULL, const char *strptimeFormat = "%Y%m%d%H%M%S") noexcept(false);
+ //void store(const std::string &stringDate, const char *tz = NULL, const char *strptimeFormat = "%Y-%m-%d-%H-%M-%S") noexcept(false);
* @return NULL if TZ is unset, or string for TZ environment variable
* (empty is allowed and use to be understood as UTC.
*/
* @return NULL if TZ is unset, or string for TZ environment variable
* (empty is allowed and use to be understood as UTC.
*/
/**
* Gets the week day abbreviation: Sun, Mon, Tue, Wed, Thu, Fri, Sat
*
* @return Day of the week
*/
/**
* Gets the week day abbreviation: Sun, Mon, Tue, Wed, Thu, Fri, Sat
*
* @return Day of the week
*/