INTLFORMAT - Holds country and workstation settings. ----------------------------------------------------------------------------------------------------------
#include <intl.h>
Definition :
typedef struct {
WORD Flags; /* OR'd #defines for daylight
savings, number, time, and date formats - see Symbolic Values CLOCK_24_HOUR, CURRENCY_SPACE, CURRENCY_SUFFIX, DATE_DMY, DATE_MDY, DATE_YMD, DAYLIGHT_SAVINGS, NUMBER_LEADING_ZERO */
BYTE CurrencyDigits; /* Number of decimal digits in fractional monetary amounts */
BYTE Length; /* Length of this structure */
If this structure is set from scratch, THIS MUST BE SET TO THE EXACT SIZE OF THE STRUCTURE WHEN ITS POINTER IS PASSED AS AN ARGUMENT */
int TimeZone; /* number of hours added to the time to get Greenwich Mean Time. May be positive or negative. */
char AMString[ISTRMAX]; /* AM/am string used in countries with 12 hour time format */
char PMString[ISTRMAX]; /* PM/pm string used in countries with 12 hour time format */
char CurrencyString[ISTRMAX]; /* Symbol for currency: $, Fr, SEK, etc. */
char ThousandString[ISTRMAX]; /* Symbol formatting monetary amounts in thousands */
char DecimalString[ISTRMAX]; /* Symbol denoting decimal fraction of monetary amounts */
char DateString[ISTRMAX]; /* Character(s) separating components of date string */
char TimeString[ISTRMAX]; /* Character(s) separating components of time string */
char YesterdayString[YTSTRMAX]; /* String denoting previous day */
char TodayString[YTSTRMAX]; /* String denoting current day */
char TomorrowString[YTSTRMAX];
} INTLFORMAT;
Description :
The INTLFORMAT typedef is used to declare a data structure that is returned from OSGetIntlSettings with country and workstation dependant information. This structure provides information useful in parsing or composing Time, Date, and Currency strings. It is also used by ConvertTextToTIMEDATE and ConvertTIMEDATEToText to indicate the expected or resulting string format, current time zone and daylight savings values.
Note: The function ConvertTIMEDATEToText does not take the DAYLIGHT_SAVINGS flag into account.