src/English/timex/TimeObj.cpp
/* Returns -1 if the date contained in this is prior to t, 1 if it is after t, 
and 0 if the two dates are equivalent or an ordering cannot be determined */
1 if the date contained in this is prior to t, 1 if it is after t,
and 0 if the two dates are equivalent or an ordering cannot be determined
1 if the date contained in this is prior to t 1 if it is after t and 0 if the two dates are equivalent or an ordering cannot be determined
int TimeObj::compareTo(TimeObj *t) {
	if (isSpecificDate() && t->isSpecificDate()) {
		return _dateAndTime->compareTo(t->_dateAndTime);
	} else return 0;
}
int TimeObj :: compareTo ( TimeObj * t ) { if ( isSpecificDate ( ) && t -> isSpecificDate ( ) ) { return _dateAndTime -> compareTo ( t -> _dateAndTime ) ; } else return 0 ; }
Returns -1 if the date contained in this is prior to t, 1 if it is after t,
and 0 if the two dates are equivalent or an ordering cannot be determined
Returns - 1 if the date contained in this is prior to t 1 if it is after t and 0 if the two dates are equivalent or an ordering cannot be determined