| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.service.scheduler.AbsoluteSchedule
public class AbsoluteSchedule
This implementation of Schedule represents a Schedule for an job that occurs once, at a specific time.
| Field Summary | |
|---|---|
| static java.lang.String | CLASS_VERSIONClass version string | 
| Constructor Summary | |
|---|---|
| AbsoluteSchedule(long pJobTime)Constructs a new AbsoluteSchedule for a job that will occur at the specified time. | |
| AbsoluteSchedule(java.lang.String pValue,
                 java.util.Locale pLocale)Attempts to parse the String parameter pValue into an absolute schedule. | |
| Method Summary | |
|---|---|
|  boolean | equals(java.lang.Object pObject)Returns true if the given object is an AbsoluteSchedule with the same job time as this schedule. | 
|  long | getNextJobTime(long pLastOccurrenceTime)Returns the next time that the job Scheduled by this will take place. | 
| static java.util.ResourceBundle | getResources(java.util.Locale pLocale) | 
|  int | hashCode()Returns a hash code value for this object. | 
|  boolean | isRepeating()Returns true if this is a repeating job, false if this is a one-shot job. | 
|  boolean | mustKnowFirstTime()If true, then the first time getNextJobTime is called it will be called with -1. | 
|  java.lang.String | scheduleString()Returns a Parseable representation of this Schedule. | 
|  java.lang.String | scheduleString(java.util.Locale pLocale)Returns a Parseable representation of this Schedule. | 
|  java.lang.String | toString()Returns a String value of this | 
|  java.lang.String | toString(java.util.Locale pLocale) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static java.lang.String CLASS_VERSION
| Constructor Detail | 
|---|
public AbsoluteSchedule(java.lang.String pValue,
                        java.util.Locale pLocale)
                 throws java.lang.IllegalArgumentException
pValue - a String valuepLocale - a Locale value
java.lang.IllegalArgumentException - if the string can not be parsedpublic AbsoluteSchedule(long pJobTime)
| Method Detail | 
|---|
public static java.util.ResourceBundle getResources(java.util.Locale pLocale)
public long getNextJobTime(long pLastOccurrenceTime)
getNextJobTime in interface SchedulepLastOccurrenceTime - the last time the job occurred,
 or -1 if it has not yet occurred.
public boolean mustKnowFirstTime()
mustKnowFirstTime in interface Schedulepublic boolean isRepeating()
isRepeating in interface Schedulepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(java.util.Locale pLocale)
public java.lang.String scheduleString()
Schedule
scheduleString in interface Schedulepublic java.lang.String scheduleString(java.util.Locale pLocale)
scheduleString in interface Schedulepublic boolean equals(java.lang.Object pObject)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||