| setLocale |
(Locale locale) |
yoix.util |
| |
Sets the supplied
locale
to be the default locale.
| |
| Example: |
In the following example, the date is printed out using the current
default locale, then the locale default is set to Italy and the
date is printed out again.
import yoix.stdio.*;
import yoix.util.*;
puts(date());
setLocale(Locale.ITALY);
puts(date());
The results on standard output are:
Wed Oct 18 20:39:06 EDT 2000
mer ott 18 20:39:06 GMT-04:00 2000
| | |
| Return: |
Locale
| | |
| See Also: |
getLocale,
getLocales,
Locale
|
|
Yoix is a registered trademark of AT&T Inc.
|