Example #1
0
	bool CTime::operator != (const CTime& time) const
	{
		if ( !Valid() || !time.Valid() )
			throw Nyx::CTimeException();

		return (m_Time != time.m_Time);
	}
Example #2
0
	bool CTime::operator > (const CTime& time) const
	{
		if ( !Valid() || !time.Valid() )
			throw Nyx::CTimeException();

		return m_Time > time.m_Time;
	}
Example #3
0
	const CTime CTime::operator + (const CTime& time) const
	{
		if ( !Valid() || !time.Valid() )
			throw Nyx::CTimeException();

		CTime	retval(0);

		retval.m_Time = m_Time + time.m_Time;
		return retval;
	}