OpenSearch/modules/lang-painless
Ryan Ernst 3046656ab1
Scripting: Rework joda time backcompat (#33486)
This commit switches the joda time backcompat in scripting to use
augmentation over ZonedDateTime. The augmentation methods provide
compatibility with the missing methods between joda's DateTime and
java's ZonedDateTime. Due to getDayOfWeek returning an enum in the java
API, ZonedDateTime is wrapped so that the method can return int like the
joda time does. The java time api version is renamed to
getDayOfWeekEnum, which will be kept through 7.x for compatibility while
users switch back to getDayOfWeek once joda compatibility is removed.
2018-09-16 19:18:00 -07:00
..
licenses Upgrade Painless from ANTLR 4.5.1-1 to ANTLR 4.5.3. (#27153) 2017-10-27 11:07:49 -07:00
spi Scripting: Rework joda time backcompat (#33486) 2018-09-16 19:18:00 -07:00
src Scripting: Rework joda time backcompat (#33486) 2018-09-16 19:18:00 -07:00
build.gradle Scripting: Rework joda time backcompat (#33486) 2018-09-16 19:18:00 -07:00