Class GetSelTimeUtcOffsetResponseData
java.lang.Object
org.metricshub.ipmi.core.coding.commands.sel.GetSelTimeUtcOffsetResponseData
- All Implemented Interfaces:
ResponseData
Wrapper for the Get SEL Time UTC Offset response.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int07FFh: the offset is unspecified (IPMI 2.0 revision 1.1 section 31.11a), as after a Set SEL Time. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
UNSPECIFIED
public static final int UNSPECIFIED07FFh: the offset is unspecified (IPMI 2.0 revision 1.1 section 31.11a), as after a Set SEL Time.- See Also:
-
-
Constructor Details
-
GetSelTimeUtcOffsetResponseData
public GetSelTimeUtcOffsetResponseData()
-
-
Method Details
-
getOffsetMinutes
public int getOffsetMinutes()- Returns:
- the offset from UTC of the SEL time, in minutes (-1440 to 1440): local time = UTC + offset; or
UNSPECIFIED
-
isUnspecified
public boolean isUnspecified()- Returns:
- whether the BMC leaves the offset unspecified (07FFh): the SEL time is then as good as UTC
-
setOffsetMinutes
public void setOffsetMinutes(int offsetMinutes) - Parameters:
offsetMinutes- the offset from UTC of the SEL time, in minutes
-