Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Convert Cron expression in java.util.Calendar  RSS feed

 
Lucas Cunha
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey fellows.

I have a cron Expression String and I need to convert to an java.util.Calendar Object.
Is there someone who ever did it?
An example?
 
Paul Clapham
Sheriff
Posts: 22502
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But a cron string could mean, for example, "Every 10 minutes"... how would you get a Calendar object out of that?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!