* Devuelve la parte fraccionaria de los segundos asociados a este objeto.
* \return La parte fraccionaria de los segundos asociados a este objeto.
*/
- int getFractionalSecond() const throw() { return a_fractionalSecond; }
+ int getFractionalSecond() const { return a_fractionalSecond; }
/**
* Establece la parte fraccionaria de los segundos de este objeto.
* \param fsec Parte fraccionaria de los segundos.
*/
- void setFractionalSecond(const int fsec) throw() { a_fractionalSecond = fsec; }
+ void setFractionalSecond(const int fsec) { a_fractionalSecond = fsec; }
/**
* Interpreta el contenido de la fecha y lo transfiere al buffer.
* \return El buffer que contiene esta fecha interpretada con el formato indicado en el contructor.
* \warning El resultado sera NULL en caso de no poder interpretar correctamente la fecha.
*/
- virtual const char* getCStringValue() const throw();
+ virtual const char* getCStringValue() const ;
/**
Operador de copia.
\return La instancia de esta fecha.
\warning Solo copia el contenido de la fecha recibida, no cambia el formato de interpretacion de la fecha origen.
*/
- TimeStamp& operator = (const TimeStamp& timeStamp) throw(RuntimeException) {
+ TimeStamp& operator = (const TimeStamp& timeStamp) noexcept(false) {
Date::operator= (timeStamp);
a_fractionalSecond = timeStamp.a_fractionalSecond;
return *this;
\return La instancia de esta fecha.
\warning Solo copia el contenido de la fecha recibida, no cambia el formato de interpretacion de la fecha origen.
*/
- TimeStamp& operator = (const Date& date) throw(RuntimeException) { Date::operator= (date); a_fractionalSecond = 0; return *this; }
+ TimeStamp& operator = (const Date& date) noexcept(false) { Date::operator= (date); a_fractionalSecond = 0; return *this; }
private:
char a_anotherBuffer [MaxDateSize + 1];
int a_fractionalSecond;
- void do_clear() throw() { a_fractionalSecond = 0; a_anotherBuffer [0] = 0; }
+ void do_clear() { a_fractionalSecond = 0; a_anotherBuffer [0] = 0; }
};
}