Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Hour time unit. More...
#include <ilog/date.h>
Public Member Functions | |
IlTimeUnitHour () | |
Constructor. | |
virtual void | addTimeUnit (IlCalendar &cal) const |
Increments the given IlCalendar date by 1 hour. More... | |
virtual IlTimeUnit * | copy () const |
Return a IlTimeUnitHour. More... | |
virtual IlDouble | getMillis () const |
returns the duration of this time unit in milliseconds. More... | |
virtual void | snapToPreviousTimeUnit (IlCalendar &cal) const |
Snaps the given IlCalendar</code date to the last hour. More... | |
virtual char * | toString (IlDate date) const |
Returns a string representing the date in hours. More... | |
Public Member Functions inherited from IlTimeUnit | |
IlTimeUnit () | |
Constructor. | |
Hour time unit.
Library: ilog
IlvTimeScaleStepsUpdater
|
virtual |
Increments the given IlCalendar
date by 1 hour.
Add 1 hour to cal.
cal | The date to change. |
Implements IlTimeUnit.
|
virtual |
|
virtual |
returns the duration of this time unit in milliseconds.
Returns the duration of this time unit in milliseconds.
Implements IlTimeUnit.
|
virtual |
Snaps the given IlCalendar</code date to the last hour.
Sets cal minutes, seconds and milliseconds to 0.
cal | The date to change. |
Implements IlTimeUnit.
|
virtual |
Returns a string representing the date in hours.
Returns an allocated string which should be deleted with delete[].
date | : the date to convert. |
Implements IlTimeUnit.
© 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.