com.garmin.fit
Class TimestampCorrelationMesg

java.lang.Object
  extended by com.garmin.fit.Mesg
      extended by com.garmin.fit.TimestampCorrelationMesg

public class TimestampCorrelationMesg
extends Mesg


Field Summary
static int FractionalSystemTimestampFieldNum
           
static int FractionalTimestampFieldNum
           
static int LocalTimestampFieldNum
           
static int SystemTimestampFieldNum
           
static int SystemTimestampMsFieldNum
           
protected static Mesg timestampCorrelationMesg
           
static int TimestampFieldNum
           
static int TimestampMsFieldNum
           
 
Fields inherited from class com.garmin.fit.Mesg
developerFields, fields, localNum, name, num, systemTimeOffset
 
Constructor Summary
TimestampCorrelationMesg()
           
TimestampCorrelationMesg(Mesg mesg)
           
 
Method Summary
 java.lang.Float getFractionalSystemTimestamp()
          Get fractional_system_timestamp field Units: s Comment: Fractional part of the system timestamp
 java.lang.Float getFractionalTimestamp()
          Get fractional_timestamp field Units: s Comment: Fractional part of the UTC timestamp at the time the system timestamp was recorded.
 java.lang.Long getLocalTimestamp()
          Get local_timestamp field Units: s Comment: timestamp epoch expressed in local time used to convert timestamps to local time
 DateTime getSystemTimestamp()
          Get system_timestamp field Units: s Comment: Whole second part of the system timestamp
 java.lang.Integer getSystemTimestampMs()
          Get system_timestamp_ms field Units: ms Comment: Millisecond part of the system timestamp
 DateTime getTimestamp()
          Get timestamp field Units: s Comment: Whole second part of UTC timestamp at the time the system timestamp was recorded.
 java.lang.Integer getTimestampMs()
          Get timestamp_ms field Units: ms Comment: Millisecond part of the UTC timestamp at the time the system timestamp was recorded.
 void setFractionalSystemTimestamp(java.lang.Float fractionalSystemTimestamp)
          Set fractional_system_timestamp field Units: s Comment: Fractional part of the system timestamp
 void setFractionalTimestamp(java.lang.Float fractionalTimestamp)
          Set fractional_timestamp field Units: s Comment: Fractional part of the UTC timestamp at the time the system timestamp was recorded.
 void setLocalTimestamp(java.lang.Long localTimestamp)
          Set local_timestamp field Units: s Comment: timestamp epoch expressed in local time used to convert timestamps to local time
 void setSystemTimestamp(DateTime systemTimestamp)
          Set system_timestamp field Units: s Comment: Whole second part of the system timestamp
 void setSystemTimestampMs(java.lang.Integer systemTimestampMs)
          Set system_timestamp_ms field Units: ms Comment: Millisecond part of the system timestamp
 void setTimestamp(DateTime timestamp)
          Set timestamp field Units: s Comment: Whole second part of UTC timestamp at the time the system timestamp was recorded.
 void setTimestampMs(java.lang.Integer timestampMs)
          Set timestamp_ms field Units: ms Comment: Millisecond part of the UTC timestamp at the time the system timestamp was recorded.
 
Methods inherited from class com.garmin.fit.Mesg
addDeveloperField, addField, getActiveSubFieldIndex, getActiveSubFieldName, getDeveloperFields, getField, getField, getField, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValue, getFieldBigIntegerValues, getFieldBigIntegerValues, getFieldBigIntegerValues, getFieldBitsValue, getFieldBitsValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValue, getFieldByteValues, getFieldByteValues, getFieldByteValues, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValue, getFieldDoubleValues, getFieldDoubleValues, getFieldDoubleValues, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValue, getFieldFloatValues, getFieldFloatValues, getFieldFloatValues, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValue, getFieldIntegerValues, getFieldIntegerValues, getFieldIntegerValues, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValue, getFieldLongValues, getFieldLongValues, getFieldLongValues, getFields, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValue, getFieldShortValues, getFieldShortValues, getFieldShortValues, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValue, getFieldStringValues, getFieldStringValues, getFieldStringValues, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getFieldValue, getIsFieldAccumulated, getLocalNum, getName, getNum, getNumFields, getNumFieldValues, getNumFieldValues, getNumFieldValues, getNumFieldValues, getOverrideField, hasField, removeExpandedFields, removeField, setField, setFields, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setFieldValue, setLocalNum, timestampToDateTime, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TimestampFieldNum

public static final int TimestampFieldNum
See Also:
Constant Field Values

FractionalTimestampFieldNum

public static final int FractionalTimestampFieldNum
See Also:
Constant Field Values

SystemTimestampFieldNum

public static final int SystemTimestampFieldNum
See Also:
Constant Field Values

FractionalSystemTimestampFieldNum

public static final int FractionalSystemTimestampFieldNum
See Also:
Constant Field Values

LocalTimestampFieldNum

public static final int LocalTimestampFieldNum
See Also:
Constant Field Values

TimestampMsFieldNum

public static final int TimestampMsFieldNum
See Also:
Constant Field Values

SystemTimestampMsFieldNum

public static final int SystemTimestampMsFieldNum
See Also:
Constant Field Values

timestampCorrelationMesg

protected static final Mesg timestampCorrelationMesg
Constructor Detail

TimestampCorrelationMesg

public TimestampCorrelationMesg()

TimestampCorrelationMesg

public TimestampCorrelationMesg(Mesg mesg)
Method Detail

getTimestamp

public DateTime getTimestamp()
Get timestamp field Units: s Comment: Whole second part of UTC timestamp at the time the system timestamp was recorded.

Returns:
timestamp

setTimestamp

public void setTimestamp(DateTime timestamp)
Set timestamp field Units: s Comment: Whole second part of UTC timestamp at the time the system timestamp was recorded.

Parameters:
timestamp -

getFractionalTimestamp

public java.lang.Float getFractionalTimestamp()
Get fractional_timestamp field Units: s Comment: Fractional part of the UTC timestamp at the time the system timestamp was recorded.

Returns:
fractional_timestamp

setFractionalTimestamp

public void setFractionalTimestamp(java.lang.Float fractionalTimestamp)
Set fractional_timestamp field Units: s Comment: Fractional part of the UTC timestamp at the time the system timestamp was recorded.

Parameters:
fractionalTimestamp -

getSystemTimestamp

public DateTime getSystemTimestamp()
Get system_timestamp field Units: s Comment: Whole second part of the system timestamp

Returns:
system_timestamp

setSystemTimestamp

public void setSystemTimestamp(DateTime systemTimestamp)
Set system_timestamp field Units: s Comment: Whole second part of the system timestamp

Parameters:
systemTimestamp -

getFractionalSystemTimestamp

public java.lang.Float getFractionalSystemTimestamp()
Get fractional_system_timestamp field Units: s Comment: Fractional part of the system timestamp

Returns:
fractional_system_timestamp

setFractionalSystemTimestamp

public void setFractionalSystemTimestamp(java.lang.Float fractionalSystemTimestamp)
Set fractional_system_timestamp field Units: s Comment: Fractional part of the system timestamp

Parameters:
fractionalSystemTimestamp -

getLocalTimestamp

public java.lang.Long getLocalTimestamp()
Get local_timestamp field Units: s Comment: timestamp epoch expressed in local time used to convert timestamps to local time

Returns:
local_timestamp

setLocalTimestamp

public void setLocalTimestamp(java.lang.Long localTimestamp)
Set local_timestamp field Units: s Comment: timestamp epoch expressed in local time used to convert timestamps to local time

Parameters:
localTimestamp -

getTimestampMs

public java.lang.Integer getTimestampMs()
Get timestamp_ms field Units: ms Comment: Millisecond part of the UTC timestamp at the time the system timestamp was recorded.

Returns:
timestamp_ms

setTimestampMs

public void setTimestampMs(java.lang.Integer timestampMs)
Set timestamp_ms field Units: ms Comment: Millisecond part of the UTC timestamp at the time the system timestamp was recorded.

Parameters:
timestampMs -

getSystemTimestampMs

public java.lang.Integer getSystemTimestampMs()
Get system_timestamp_ms field Units: ms Comment: Millisecond part of the system timestamp

Returns:
system_timestamp_ms

setSystemTimestampMs

public void setSystemTimestampMs(java.lang.Integer systemTimestampMs)
Set system_timestamp_ms field Units: ms Comment: Millisecond part of the system timestamp

Parameters:
systemTimestampMs -