New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Date.getDayOfWeek / DAY_OF_WEEK(date) #188

Closed
andyjefferson opened this Issue May 9, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@andyjefferson
Member

andyjefferson commented May 9, 2017

We already support several methods/functions on java.util.Date types. We should add

JDOQL : Date.getDayOfWeek()
JPQL : DAY_OF_WEEK(date)

for datastores that support this. The day of week should return 1(sunday) through to 7 (saturday) to be consistent with java.util.Calendar

@andyjefferson andyjefferson added this to the 5.1.0.m3 milestone May 9, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment