Rogue Wave Views 5.6 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Utility class for dealing with dates and calendars. More...
#include <ilviews/graphics/timescale.h>
Static Public Member Functions | |
static IlDate | add (IlDate date, IlvDuration delta) |
Returns a new IlDate that is the sum of the specified date and duration. More... | |
static void | dayFloor (IlCalendar &calendar) |
Truncates the given IlCalendar downwards to the nearest day boundary. More... | |
static void | halfDayFloor (IlCalendar &calendar) |
Truncates the given IlCalendar downwards to the nearest half-day or AM-PM boundary. More... | |
static void | hourFloor (IlCalendar &calendar) |
Truncates the given IlCalendar downwards to the nearest hour boundary. More... | |
static void | minuteFloor (IlCalendar &calendar) |
Truncates the given IlCalendar downwards to the nearest minute boundary. More... | |
static void | monthFloor (IlCalendar &calendar) |
Truncates the given IlCalendar downwards to the nearest month boundary. More... | |
static IlDate | subtract (IlDate date, IlvDuration delta) |
Returns a new IlDate that is the specified date minus the specified duration. More... | |
static void | weekFloor (IlCalendar &calendar) |
Truncates the given IlCalendar downwards to the nearest week boundary. More... | |
static void | yearFloor (IlCalendar &calendar) |
Truncates the given IlCalendar downwards to the nearest year boundary. More... | |
Utility class for dealing with dates and calendars.
Library: views
This class holds a number of static methods that are of general use when working with IlDate
and IlCalendar
|
static |
Returns a new IlDate
that is the sum of the specified date and duration.
date | The date. |
delta | The duration to add to the date. |
|
static |
Truncates the given IlCalendar
downwards to the nearest day boundary.
calendar | The calendar. |
|
static |
Truncates the given IlCalendar
downwards to the nearest half-day or AM-PM boundary.
calendar | The calendar. |
|
static |
Truncates the given IlCalendar
downwards to the nearest hour boundary.
calendar | The calendar. |
|
static |
Truncates the given IlCalendar
downwards to the nearest minute boundary.
calendar | The calendar. |
|
static |
Truncates the given IlCalendar
downwards to the nearest month boundary.
calendar | The calendar. |
|
static |
Returns a new IlDate
that is the specified date minus the specified duration.
date | The date. |
delta | The duration to subtract from the date. |
|
static |
Truncates the given IlCalendar
downwards to the nearest week boundary.
calendar | The calendar. |
|
static |
Truncates the given IlCalendar
downwards to the nearest year boundary.
calendar | The calendar. |
© 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.