Skip to content
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

Implement 'to' 'until' and 'by' for RichDateTime etc #2

Open
azzoti opened this issue Nov 5, 2009 · 2 comments
Open

Implement 'to' 'until' and 'by' for RichDateTime etc #2

azzoti opened this issue Nov 5, 2009 · 2 comments

Comments

@azzoti
Copy link

azzoti commented Nov 5, 2009

If GenericRange becomes non experimental in Scala 2.8, then it should be possible to implement:
for (d <- DateTime.now to DateTime.now + 1.month by 1 week)

@azzoti
Copy link
Author

azzoti commented Nov 13, 2009

GenericRange is now called NumericRange

@azzoti
Copy link
Author

azzoti commented Nov 13, 2009

This request may not be possible using NumericRange having looked at what BigDecimal has to do to get to/until/by to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant