DateFormat Class

The DateFormat class is used to store Windows locale date information. You cannot modify system-created instances of the DateFormat class (that is, instances created and maintained by JADE to store locale information and user-defined formats) from your JADE code.

JADE automatically creates a transient instance of DateFormat for each application that you can read by using app.currentLocaleInfo.dateInfo. This instance contains date information for the current locale. DateFormat instances are also used to store user-defined date formats that can be passed to the various primitive type user format methods. You can maintain these formats only by using the appropriate Formats menu command, accessed from the Format Browser.

Although the Windows environment does not allow dates earlier than 1601 (Date primitive type format methods return "*invalid*"), JADE stores dates that are 1600 or earlier.

For details about returning a string containing the receiver in the supplied date format, see the Date primitive type userFormat method.

For details about the constants, properties, and methods defined in the DateFormat class, see "DateFormat Class Constants", "DateFormat Properties", and "DateFormat Methods", in the following subsections.

LocaleFormat

(None)