[Logo] Terracotta Discussion Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
getTimeOfDayForDate of class TimeOfDay could be static  XML
Forum Index -> Quartz
Author Message
Malte

journeyman

Joined: 11/18/2011 02:01:41
Messages: 48
Offline

from my perspective

regards
Malte
light5

ophanim
[Avatar]
Joined: 01/14/2011 20:32:56
Messages: 513
Offline

We can't. The method is using the members fields.

Zemian Deng
---------------
Looking for a web UI to manage Quartz?
Try http://code.google.com/p/myschedule
[WWW]
Malte

journeyman

Joined: 11/18/2011 02:01:41
Messages: 48
Offline

sorry, did not check the sources and thought it was a utility method

but is there a utility method to convert from java.util.Date to TimeOfDay?
light5

ophanim
[Avatar]
Joined: 01/14/2011 20:32:56
Messages: 513
Offline

Not that I am aware of. You have to extract the hour, min and sec from the Date using a java.util.Calendar, and pass into the TimeOfDay constructor.

Zemian Deng
---------------
Looking for a web UI to manage Quartz?
Try http://code.google.com/p/myschedule
[WWW]
jhouse

seraphim
[Avatar]
Joined: 11/06/2009 15:29:56
Messages: 1654
Online

Sounds like a worth feature addition.
 
Forum Index -> Quartz
Go to:   
Powered by JForum 2.1.7 © JForum Team