// Checking if we need to save the generalized time
// with or without fraction
if ( newGeneralizedTime.getFraction() == 0 )
{
setValue( newGeneralizedTime.toGeneralizedTimeWithoutFraction() );
}
else
{
setValue( newGeneralizedTime.toGeneralizedTime() );
}