DateTimeLib external type

DateTimeLib contains functions that return date values in response to numeric input.

Package

eglx.lang

Functions
Table 1. Functions
Function Purpose
DateTimeLib.dateFromGregorian system function DateTimeLib.dateFromGregorian returns a DATE value corresponding to an integer value that has the following format: YYYYMMdd.

DateTimeLib.dateFromInt function DateTimeLib.dateFromInt returns a DATE value corresponding to an integer value that gives the number of days before or after 31 December 1889.

DateTimeLib.dateFromJulian system function DateTimeLib.dateFromJulian returns a DATE value corresponding to an integer value that has the following format: YYYYddd.

DateTimeLib.mdy system function DateTimeLib.mdy returns a DATE value corresponding to integer values that represent the month, day, and year.

Comments
StringLib is implemented as an external type, stereotype NativeType, and not as an EGL library.
Compatibility

Table 2. Compatibility
Target Issue
Java See the function-specific topics.
JavaScript See the function-specific topics.