background image
C H A P T E R 2 0
Localizing Newton Applications
20-14
Summary of Localization Functions
Summary of Localization Functions
20
This section categorizes the date, time, locale, and utility functions in this chapter
according to task.
Compile-Time Functions
20
These functions allow you to build an application for various language environments.
LocObj(
obj
,
pathexpr
)
MeasureString(
str
,
fontSpec
)
Locale Functions
20
These functions manipulate locale bundles:
AddLocale(
theLocaleBundle
) // platform file function
FindLocale(
locSymbol
) // platform file function
GetLocale()
RemoveLocale(
locSymbol
) // platform file function
SetLocale(
locSymbol
)
SetLocalizationFrame(
frame
)
Date and Time Functions
20
These functions return date or time information from the system clock. They are
grouped into two categories: those that return formatted strings and those that do not.
Formatted Date/Time Functions
20
These functions return formatted date or time strings. Some of the functions in this
list format the string according to a format specification supplied as one of their
arguments; others format the string according to values stored in the active locale
bundle. See the descriptions of individual functions for more information.
DateNTime(
time
)
HourMinute(
time
)
LongDateStr(
time
,
dateStrSpec
)
ShortDate(
time
)
ShortDateStr(
time
,
dateStrSpec
)
StringToDate(
dateString
)
StringToDateFrame(
str
)
© 2007-2017, o7 studio » при воспроизведении материала сайта ссылка обязательна
Чехол для Lenovo Tab 3 7.0 730x