}
const char* dbms::Date::getCStringValue() const
-throw() {
+{
const char* format;
if((format = a_format) == NULL)
}
Date& Date::operator = (const Date & other)
-throw(RuntimeException) {
+noexcept(false) {
if(this != &other) {
if(other.isNull() == true) {
setNull(true);
}
void Date::setValue(const char* str)
-throw(RuntimeException) {
+noexcept(false) {
if(a_format == NULL) {
string msg(asString());
msg += " | anna::dbms::Data::setValue (const char*) requires format especification";
}
void Date::setValue(const Second &second)
-throw(RuntimeException) {
+noexcept(false) {
tm* aux = localtime((time_t*) & second);
if(aux == NULL) {
}
void dbms::Date::set(const char* what, int& variable, const int value, const int min, const int max)
-throw(RuntimeException) {
+noexcept(false) {
if(value < min) {
string msg(what);
msg += functions::asText(" must be greater than or equal to ", min);
}
string dbms::Date::asString() const
-throw() {
+{
const char* cstring;
string result("dbms::Date { ");
result += dbms::Data::asString();