Skip to content

Commit

Permalink
Add date enums to pathToElement register (finos#2290)
Browse files Browse the repository at this point in the history
* Add date enums to pathToElement register

* Add date enums to pathToElement register
  • Loading branch information
gs-jp1 authored Sep 25, 2023
1 parent 473c8d5 commit 1f83e05
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,11 @@ private void registerElementsForPathToElement()
registerElementForPathToElement("meta::pure::tds", Lists.mutable.with(
"TDSRow"
));

registerElementForPathToElement("meta::pure::functions::date", Lists.mutable.with(
"DayOfWeek", "DurationUnit", "Month", "Quarter"
));

this.extensions.getExtraElementForPathToElementRegisters().forEach(register -> register.value(this::registerElementForPathToElement));
}

Expand Down

0 comments on commit 1f83e05

Please sign in to comment.