Package hec.data
Class IntervalOffset
java.lang.Object
hec.data.IntervalOffset
Deprecated.
Represents the UTC interval offset for a time series.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.IntervalOffset(int offsetSeconds, int intervalSeconds) Deprecated.IntervalOffset(IntervalOffset intervalOffset) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.mil.army.usace.hec.metadata.IntervalOffsetDeprecated.Deprecated.Returns the UTC interval offset as a formattedString.
The format is as follows:00Y 00M 00D 00h 00m 00s
Letter Date or Time ComponentYYearMMonthDDayhHourmMinutesSecondstatic StringgetIntervalOffsetString(int offsetSeconds) Deprecated.intDeprecated.intDeprecated.Offset is in secondslongDeprecated.intDeprecated.Deprecated.booleanDeprecated.static booleanisDefined(int offsetSeconds) Deprecated.voidsetInterval(Interval interval) Deprecated.voidsetIntervalOffset(String offsetString) Deprecated.voidsetIntervalSeconds(int seconds) Deprecated.voidsetOffset(int offset) Deprecated.Offset is in secondsvoidsetPartsList(List<IntervalOffsetPart> partsList) Deprecated.toString()Deprecated.
-
Constructor Details
-
IntervalOffset
public IntervalOffset()Deprecated. -
IntervalOffset
Deprecated.- Parameters:
offsetSeconds- the UTC Interval offset in seconds.intervalSeconds- The size of the Interval in seconds. i.e. 1HOUR = 3600 seconds. 0 seconds is irregular because you have NO Interval.- Throws:
IllegalIntervalOffsetException
-
IntervalOffset
Deprecated.
-
-
Method Details
-
getIntervalOffsetMetaData
public mil.army.usace.hec.metadata.IntervalOffset getIntervalOffsetMetaData()Deprecated. -
setPartsList
Deprecated.- Throws:
IllegalIntervalOffsetException
-
getPartsList
Deprecated. -
setInterval
Deprecated.- Throws:
IllegalIntervalOffsetException
-
setIntervalSeconds
Deprecated.- Throws:
IllegalIntervalOffsetException
-
getIntervalSeconds
public int getIntervalSeconds()Deprecated. -
getInterval
Deprecated.- Throws:
DataSetIllegalArgumentException
-
setOffset
Deprecated.Offset is in seconds- Parameters:
offset-- Throws:
IllegalIntervalOffsetException
-
getOffset
public int getOffset()Deprecated.Offset is in seconds- Returns:
-
getIntervalOffsetString
Deprecated.Returns the UTC interval offset as a formattedString.
The format is as follows:00Y 00M 00D 00h 00m 00s
Letter Date or Time Component YYear MMonth DDay hHour mMinute sSecond - Returns:
- The formatted offset
String.
-
toString
Deprecated. -
getIntervalOffsetString
Deprecated. -
setIntervalOffset
Deprecated.- Throws:
IllegalIntervalOffsetException
-
getOffsetMillis
public long getOffsetMillis()Deprecated. -
getOffsetSeconds
public int getOffsetSeconds()Deprecated. -
isDefined
public boolean isDefined()Deprecated. -
isDefined
public static boolean isDefined(int offsetSeconds) Deprecated.
-
IntervalOffset