public class DayInfo extends Object implements Cloneable, Serializable
DayInfo
class is used to specify date and time information in defining escalation firing time.Constructor and Description |
---|
DayInfo()
constructor
|
DayInfo(long monthday,
long weekday,
long hourmask,
long minute) |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clone implementation that returns an Object with data cloned from self
|
boolean |
equals(Object obj)
Use this method for checking equality between the current object and the
provided one.
|
long |
getHourmask()
Returns hours of day.
|
long |
getMinute()
Returns minutes of the hour.
|
long |
getMonthday()
Returns the set of days in the month.
|
long |
getWeekday()
Returns days of week.
|
int |
hashCode()
Returns the hash code value for this instance of the current class.
|
void |
setHourmask(long hourmask)
Sets hours of day.
|
void |
setMinute(long minute)
Sets minutes of the hour.
|
void |
setMonthday(long monthday)
Sets the days in the month.
|
void |
setWeekday(long weekday)
Sets days of week.
|
String |
toString()
Returns a string description of the object.
|
public DayInfo()
public DayInfo(long monthday, long weekday, long hourmask, long minute)
public long getMonthday()
day
represent days 1
to 31 of a month.public void setMonthday(long monthday)
public long getWeekday()
day
represent Sunday to Saturday of a
week.public void setWeekday(long weekday)
public long getHourmask()
hourmask
represent hours 0 to 23 of a
day.public void setHourmask(long hourmask)
public long getMinute()
public void setMinute(long minute)
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public boolean equals(Object obj)
public int hashCode()
? Copyright 2013 BMC Software, Inc.