Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace RandomDateFormatEntry

The Random Date masking format generates random and unique dates within a range. The date range is defined by the startDate and endDate attributes. The start date must be less than or equal to the end date. When masking columns with uniqueness constraint, ensure that the date range is sufficient enough to generate unique values. To learn more, check Random Date in the Data Safe documentation.

Properties

Optional description

description: undefined | string

The description of the format entry.

endDate

endDate: Date

The upper bound of the range within which random dates should be generated. The end date must be greater than or equal to the start date.

startDate

startDate: Date

The lower bound of the range within which random dates should be generated. The start date must be less than or equal to the end date.

Const type

type: string = "RANDOM_DATE"

Methods

getDeserializedJsonObj

getJsonObj