public class Scheduling
extends java.lang.Object
Constructor and Description |
---|
Scheduling(java.util.Date date)
This constructor constructs the wrapper object for the schedule-details from a date
|
Scheduling(java.lang.String date,
java.lang.String hours,
java.lang.String minutes,
java.lang.String state)
This constructor constructs the wrapper object for the schedule-details
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDate()
Get the string date of the schedule
|
java.lang.String |
getHours()
Get the time of day (hour) of the
Time object of the schedule |
java.lang.String |
getMinutes()
Get the time of day (minutes of the hour) of the
Time object of the schedule |
java.lang.String |
getState()
Get the state, either 'unscheduled', 'scheduled', 'fired', 'misfired'
|
java.util.Date |
toDate()
Get the
Date of the schedule |
java.lang.String |
toString() |
public Scheduling(java.lang.String date, java.lang.String hours, java.lang.String minutes, java.lang.String state)
date
- The Date
of the schedulehours
- The time of day (hour) of the Time
object of the scheduleminutes
- The time of day (minutes of the hour) of the Time
object of the schedulestate
- The state, either 'unscheduled', 'scheduled', 'fired', 'misfired'public Scheduling(java.util.Date date)
date
- The Date
and time of the schedulepublic java.lang.String getDate()
public java.util.Date toDate() throws java.text.ParseException
Date
of the scheduleDate
of the schedulejava.text.ParseException
public java.lang.String getHours()
Time
object of the scheduleTime
object of the schedulepublic java.lang.String getMinutes()
Time
object of the scheduleTime
object of the schedulepublic java.lang.String getState()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2018. All Rights Reserved.