![]() Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Millisecond time unit. More...
#include <ilog/date.h>
Public Member Functions | |
| IlTimeUnitMilliSecond () | |
| Constructor. | |
| virtual void | addTimeUnit (IlCalendar &cal) const |
Increments the given IlCalendar date by 1 millisecond. | |
| virtual IlTimeUnit * | copy () const |
| Return a IlTimeUnitMilliSecond. | |
| virtual IlDouble | getMillis () const |
| returns the duration of this time unit in milliseconds. | |
| virtual void | snapToPreviousTimeUnit (IlCalendar &cal) const |
Snaps the given IlCalendar date to the previous time unit. | |
| virtual char * | toString (IlDate date) const |
| Returns a string representing the date in milliseconds. | |
Millisecond time unit.
Library: ilog
IlvTimeScaleStepsUpdater | virtual void IlTimeUnitMilliSecond::addTimeUnit | ( | IlCalendar & | cal | ) | const [virtual] |
Increments the given IlCalendar date by 1 millisecond.
Add 1 millisecond to cal.
| cal | The date to change. |
Implements IlTimeUnit.
| virtual IlTimeUnit* IlTimeUnitMilliSecond::copy | ( | ) | const [virtual] |
| virtual IlDouble IlTimeUnitMilliSecond::getMillis | ( | ) | const [virtual] |
returns the duration of this time unit in milliseconds.
Returns the duration of this time unit in milliseconds.
Implements IlTimeUnit.
| virtual void IlTimeUnitMilliSecond::snapToPreviousTimeUnit | ( | IlCalendar & | cal | ) | const [virtual] |
Snaps the given IlCalendar date to the previous time unit.
In the case of milliseconds, this doesn't change the date since milliseconds are the lowest unit available.
| cal | The date to change |
Implements IlTimeUnit.
| virtual char* IlTimeUnitMilliSecond::toString | ( | IlDate | date | ) | const [virtual] |
Returns a string representing the date in milliseconds.
Returns an allocated string which should be deleted with delete[].
| date | : the date to convert. |
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.