parseShortWithFmtAndLcid
parseShortWithFmtAndLcid(source: String; fmt: DateFormat; lcid: Integer; errOffset: Integer output): Integer updating;
The parseShortWithFmtAndLcid method of the Date primitive type parses the string specified in the source parameter to ensure that it matches the short date format specified in the fmt parameter in terms of element (day, month, year) order and separators.
Text such as day and month names must match the appropriate values for the locale specified in the lcid parameter. If the source string contains a valid date, it is assigned to the receiver; otherwise the invalid date value is assigned to the receiver (the isValid method of the Date primitive type will return false).
If the value of the fmt parameter is null, the short date format of the locale specified in the lcid parameter is used. If the value of the lcid parameter is zero (0), the short date format of the current locale is used.
If the value of the source parameter matches the format rules, the method returns zero (0) and sets the receiver to the parsed value. If it does not match the format rules, it returns a JADE error code (parse errors are in the range 1800 through 1869), indicates the first offending character returning its zero-based offset using the output errOffset parameter, and sets the receiver to the invalid date value.
This method is the same as the parseShortWithPicAndLcid method except that the picture string is taken from the
If you do not define the