Package hec.model
Class DailyRepeatInterval
java.lang.Object
hec.model.RepeatInterval
hec.model.DailyRepeatInterval
- All Implemented Interfaces:
AsciiSerializable
,FieldAccessor
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class hec.model.RepeatInterval
_endDate, _repeatNumber, DAILY_REPEAT, MONTHLY_REPEAT, NO_REPEAT, WEEKLY_REPEAT, YEARLY_REPEAT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
getFieldObject
(Field fld) This method allows access to java.lang.reflect.Field objects within the implementing class.protected void
getNextTime
(HecTime baseStartTime, HecTime stepStartTime, HecTime baseEndTime, HecTime stepEndTime, HecTime[] nextTimes) int
boolean
setFieldObject
(Field fld, Object fobj) This allows access to fields withing the implementing object to set there data.toString()
Methods inherited from class hec.model.RepeatInterval
getEndDate, getNextRepeatTime, getRepeatNumber, nextRepeatTime, setEndDate, setRepeatNumber
-
Constructor Details
-
DailyRepeatInterval
public DailyRepeatInterval()
-
-
Method Details
-
clone
- Overrides:
clone
in classRepeatInterval
- Throws:
CloneNotSupportedException
-
getRepeatType
public int getRepeatType()- Specified by:
getRepeatType
in classRepeatInterval
-
toString
-
getNextTime
protected void getNextTime(HecTime baseStartTime, HecTime stepStartTime, HecTime baseEndTime, HecTime stepEndTime, HecTime[] nextTimes) - Specified by:
getNextTime
in classRepeatInterval
-
getFieldObject
Description copied from interface:FieldAccessor
This method allows access to java.lang.reflect.Field objects within the implementing class.- Specified by:
getFieldObject
in interfaceFieldAccessor
- Overrides:
getFieldObject
in classRepeatInterval
- Parameters:
fld
- The field to get.- Returns:
- The data object that is stored in the given field
-
setFieldObject
Description copied from interface:FieldAccessor
This allows access to fields withing the implementing object to set there data.- Specified by:
setFieldObject
in interfaceFieldAccessor
- Overrides:
setFieldObject
in classRepeatInterval
- Parameters:
fld
- The java field object representing the member field to be setfobj
- The data to set in that field- Returns:
- returns true if successful
-