Rogue Wave Views Foundation Package API Reference Guide |
Rogue Wave Views Documentation Home |
Classes | |
class | IlCalendar |
Abstract base class managing a calendar date. More... | |
class | IlTimeZone |
Dummy IlTimeZone class - not really used. More... | |
Macros | |
#define | IL_DATE_FAILURE(x) |
Tests a IlDateErrorCode value for failure. More... | |
#define | IL_DATE_MILLIS_PER_DAY |
The number of milliseconds in 1 day. | |
#define | IL_DATE_MILLIS_PER_HOUR |
The number of milliseconds in 1 hour. | |
#define | IL_DATE_MILLIS_PER_MINUTE |
The number of milliseconds in 1 minute. | |
#define | IL_DATE_MILLIS_PER_SECOND |
The number of milliseconds in 1 second. | |
#define | IL_DATE_SUCCESS(x) |
Tests a IlDateErrorCode value for success. More... | |
Enumerations |
Library: ilog
IlCalendar class. From IBM ICU classes, adapted for Rogue Wave Views libraries.
Copyright (C) 1997-1999, International Business Machines Corporation and others. All Rights Reserved.
#define IL_DATE_FAILURE | ( | x | ) |
Tests a IlDateErrorCode
value for failure.
1
if the value is an error, 0
otherwise #define IL_DATE_SUCCESS | ( | x | ) |
Tests a IlDateErrorCode
value for success.
1
if the value is not error, 0
otherwise enum IlDateErrorCode |
Error code to replace exception handling so that the code is compatible with all C++ compilers, and to use the same mechanism for C and C++.
Functions that take a reference (C++) or a pointer (C) to a IlDateErrorCode
first test:
So that in a chain of such functions the first one that sets an error code causes the following ones to not perform any operations.
Error codes should be tested using IL_DATE_FAILURE()
and IL_DATE_SUCCESS()
.
© Copyright 2016, 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.