Rogue Wave Views 5.6 |
Rogue Wave Views |
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 | |
enum | IlDateErrorCode { IL_DATE_ERROR_INFO_START, IL_DATE_USING_FALLBACK_ERROR, IL_DATE_USING_DEFAULT_ERROR, IL_DATE_SAFECLONE_ALLOCATED_ERROR, IL_DATE_ERROR_INFO_LIMIT, IL_DATE_ZERO_ERROR, IL_DATE_ILLEGAL_ARGUMENT_ERROR , IL_DATE_INTERNAL_PROGRAM_ERROR , IL_DATE_MEMORY_ALLOCATION_ERROR , IL_DATE_PARSE_ERROR, IL_DATE_INVALID_CHAR_FOUND, IL_DATE_TRUNCATED_CHAR_FOUND, IL_DATE_ILLEGAL_CHAR_FOUND, IL_DATE_INVALID_TABLE_FORMAT, IL_DATE_INVALID_TABLE_FILE, IL_DATE_BUFFER_OVERFLOW_ERROR, IL_DATE_UNSUPPORTED_ERROR, IL_DATE_RESOURCE_TYPE_MISMATCH, IL_DATE_ILLEGAL_ESCAPE_SEQUENCE, IL_DATE_UNSUPPORTED_ESCAPE_SEQUENCE, IL_DATE_NO_SPACE_AVAILABLE, IL_DATE_ERROR_LIMIT } |
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++. More... | |
[library ilog ilog/calendar.h] 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.
#define IL_DATE_SUCCESS | ( | x | ) |
Tests a IlDateErrorCode
value for success.
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
if (IL_DATE_FAILURE(errorCode)) { return immediately; }
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 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.