java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf89.TrgUsageData
-
Method Summary
Modifier and TypeMethodDescriptionstatic TrgUsageData
create
(byte[] Data, int offset, int length) create is intended for internal use only.smf89tct()
SMF89TCT as a Duration.double
SMF89TCT raw value.double
SMF89TCT in seconds.smf89tpi()
SMF89TPI value.smf89tpn()
SMF89TPN value.smf89tpo()
SMF89TPO value.smf89tpq()
SMF89TPQ value.smf89tpv()
SMF89TPV value.SMF89TRG value as a BigInteger.long
SMF89TRG as 64 bit binary value, throws exception if SMF89TRG overflows 64 bit signed integer.SMF89TRG as a Duration.byte[]
SMF89TRGData data.int
SMF89TRGDataType value.double
SMF89TRG as long floating point.SMF89TRG_NAME value.smf89trp()
SMF89TRP value.smf89tsr()
SMF89TSR as a Duration.double
SMF89TSR raw value.double
SMF89TSR in seconds.smf89tzt()
SMF89TZT as a Duration.double
SMF89TZT raw value.double
SMF89TZT in seconds.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Method Details
-
smf89trp
SMF89TRP value.- Returns:
- String SMF89TRP value
-
smf89tpo
SMF89TPO value.- Returns:
- String SMF89TPO value
-
smf89tpn
SMF89TPN value.- Returns:
- String SMF89TPN value
-
smf89tpv
SMF89TPV value.- Returns:
- String SMF89TPV value
-
smf89tpq
SMF89TPQ value.- Returns:
- String SMF89TPQ value
-
smf89tpi
SMF89TPI value.- Returns:
- String SMF89TPI value
-
smf89trgName
SMF89TRG_NAME value.- Returns:
- String SMF89TRG_NAME value
-
smf89tct
SMF89TCT as a Duration.- Returns:
- Duration SMF89TCT
- See Also:
-
smf89tctSeconds
public double smf89tctSeconds()SMF89TCT in seconds.- Returns:
- double SMF89TCT converted to seconds
-
smf89tctRawValue
public double smf89tctRawValue()SMF89TCT raw value.- Returns:
- double SMF89TCT value
-
smf89tsr
SMF89TSR as a Duration.- Returns:
- Duration SMF89TSR
- See Also:
-
smf89tsrSeconds
public double smf89tsrSeconds()SMF89TSR in seconds.- Returns:
- double SMF89TSR converted to seconds
-
smf89tsrRawValue
public double smf89tsrRawValue()SMF89TSR raw value.- Returns:
- double SMF89TSR value
-
smf89tzt
SMF89TZT as a Duration.- Returns:
- Duration SMF89TZT
- See Also:
-
smf89tztSeconds
public double smf89tztSeconds()SMF89TZT in seconds.- Returns:
- double SMF89TZT converted to seconds
-
smf89tztRawValue
public double smf89tztRawValue()SMF89TZT raw value.- Returns:
- double SMF89TZT value
-
smf89trgData
public byte[] smf89trgData()SMF89TRGData data.- Returns:
- byte[] SMF89TRGData data
-
smf89trgAsCpuTime
SMF89TRG as a Duration.- Returns:
- Duration SMF89TRG
- See Also:
-
smf89trgAsBinary
public long smf89trgAsBinary()SMF89TRG as 64 bit binary value, throws exception if SMF89TRG overflows 64 bit signed integer.- Returns:
- long SMF89TRG
- Throws:
IllegalArgumentException
- If the value of SMF89TRG exceeds the maximum value of a signed 64 bit integer (i.e. the high order bit is set in SMF89TRG). Usesmf89trgAsBigInteger()
if this is possible.
-
smf89trgAsBigInteger
SMF89TRG value as a BigInteger.smf89trgAsBinary()
may provide better performance if the value will not exceed the maximum value for a signed long.- Returns:
- BigInteger SMF89TRG
-
smf89trgLongFP
public double smf89trgLongFP()SMF89TRG as long floating point.- Returns:
- double SMF89TRG
-
smf89trgDataType
public int smf89trgDataType()SMF89TRGDataType value.- Returns:
- int SMF89TRGDataType value
-
create
create is intended for internal use only. Instances of this section are created by the parent record or section.- Parameters:
Data
- Array of bytes containing data for this sectionoffset
- Offset of this section in the datalength
- length of the section
-