Loading...
 

CX_LOCALE::UnknownPartOfDate

CX_LOCALE::UnknownPartOfDate

Description:

This function returns the character for unknown parts of an incomplete date.

Note:
for the objects class CX_LOCALE and CX_STATE_LOCALE the function returns the character for unknown parts of an incomplete date of the parent country. If no parent country exists - error message "Error in a base-class".

for the objects class CX_COUNTRY_LOCALE, the function returns the character for unknown parts of an incomplete date of the parent country, if a parent country exists. If no parent country exists for this object, the function returns the character for this country.

Code example:

SystemObject Call(GetLocale)
Get(upperLocale) Dup
if { Call(UnknownPartOfDate)}
else { "locale not set" Attention }
............................
SystemObject Call(GetCountries)
0 Swap
GetElement Call(UnknownPartOfDate)

Stack
Stack Position Object type Brief description
Stack(IN) Top CX_LOCALE, CX_STATE_LOCALE,
or CX_COUNTRY_LOCALE
the locale
Stack(OUT) Top STRING the sign
Function call: Call(UnknownPartOfDate)