timeSep
#include <Packages.h>
typedef struct Intl0Rec { Size Offset Description char decimalPt; 1 0 Decimal point character; eg, '.'
(ASCII 0x2E)
char thousSep; 1 1 Thousands separator; eg, ',' (ASCII
0x2C)
char listSep; 1 2 List separator
char currSym1; 1 3 Currency symbol (up to three
chars)
char currSym2; 1 4
char currSym3; 1 5
unsigned char currFmt; 1 6 Currency format flags
set clear
bit 4= symbol leads $1.231 23
bit 5= minus or parens $-1.00 ($1.00)
bit 6= trailing 0s $12.00 12
bit 7= leading short 0s $0.12 $.12
unsigned char dateOrder; 1 7 Order of short dates:
0=mdy,1=dmy,2=ymd,
3=myd,4=dym,5=ydm
unsigned char shrtDateFmt; 1 8 Short format date options:
bit 5=leading 0 for day 01/7/89
bit 6=lead 0 for month 1/07/89
bit 7=include century 1/7/1989
unsigned char dateSep; 1 9 Short date separator; eg,'/' or '-'
unsigned char timeCycle; 1 10 0=24 hr, 255=12 hr, 1 uses 0:00
AM
unsigned char timeFmt; 1 11 Time format options:
bit 5=leading 0 for secs 9:3:07
bit 6=leading 0 for min 9:03:7
bit 7=leading 0 for hr 09:3:7
char mornStr[4]; 4 12 Morning text; eg, "AM\0\0
char eveStr[4]; 4 16 Evening text; eg, "PM\0\0
char timeSep; 1 20 Time separator; eg, ':' (ASCII 0x3A)
char time1Suff; 1 21 24-hr time suffix characters ...
char time2Suff; 1 22 Example: "O'Clock
char time3Suff; 1 23
char time4Suff; 1 24
char time5Suff; 1 25
char time6Suff; 1 26
char time7Suff; 1 27
char time8Suff; 1 28
unsigned char metricSys; 1 29 0=not metric, 255= use metric
short intl0Vers; 2 30 Version and country code
bits 0-7 = version number
bits 8-15 = country code
typedef Intl0Rec *Intl0Ptr;
typedef Intl0Rec **Intl0Hndl;
The IUMetric function echos the value of the metricSys field. This structure echoes the contents of the 'INTL' resource whose ID is 0.
The Intl1Rec structure contains additional information used in formatting time and date output in the International Utilities Package.