Skip to content

Validate format for dateFormat and addToDate method #22

@patelhumaira21

Description

@patelhumaira21

Is your feature request related to a problem? Please describe.

dateFormat and addToDate function does not validate the dateFormat supplied as input to the function and accepts any String.

Describe the solution you'd like

Restrict access to only valid dateFormats supported by SimpleDateFormat. The validation should be compile-time rather than at runtime.

Additional context

See Xtext Validations for pointers. You will either need to change the grammar or add custom validation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions