Function to create age attribute

dateAdjustment(
  startWith = "START_DATE",
  startOffset = 0L,
  endWith = "END_DATE",
  endOffset = 0L
)

Arguments

startWith

character string either START_DATE or END_DATE

startOffset

an integer value, default 0

endWith

character string either START_DATE or END_DATE

endOffset

an integer value, default 0

Value

A dateAdjustment attribute class that can be used with a query