• Post Reply Bookmark Topic Watch Topic
  • New Topic

JAVA:Check if a Day range is within a date range?  RSS feed

 
praneeth jayarathna
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I do this elegantly with JAVA?

For example a Day can be between 1 and 5.
 
Campbell Ritchie
Marshal
Posts: 56593
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would have to provide lots more details about what you mean. Have you read about the Calendar class and its get() method?
 
rohit chavan
Ranch Hand
Posts: 133
Hibernate Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes using and , along with Calender, it will pretty easy to code this one.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!