You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Unicode Intrinsic Functions - IsGregorianMonthDay Method
Test if the variable is a Gregorian month day
Member of Unicode Intrinsic Functions (PRIM_LIBI.IUnicodeIntrinsics)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

Boolean

True if the string is a valid Gregorian Month Day

Details


IsGregorianMonthDay will return True if the variable can be converted to a valid Gregorian Month Day
IsGregorianMonthDay will often be used before AsGregorianMonthDay to better handle potential errors.
Gregorian Month Day format is --MM-DD+HH:MM

Example


In this example, #Variable is tested before being assigned to #Result
If (#Variable.IsGregorianMonthDay)
#Result := #Variable.AsGregorianMonthDay
Endif

See also

All Component Classes
Technical Reference

  • No labels