com.garmin.fit
Class WorkoutPower

java.lang.Object
  extended by com.garmin.fit.WorkoutPower

public class WorkoutPower
extends java.lang.Object


Field Summary
static long INVALID
           
static long WATTS_OFFSET
           
 
Constructor Summary
WorkoutPower()
           
 
Method Summary
static java.lang.String getStringFromValue(java.lang.Long value)
          Retrieves the String Representation of the Value
static java.lang.Long getValueFromString(java.lang.String value)
          Retrieves a value given a string representation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WATTS_OFFSET

public static final long WATTS_OFFSET
See Also:
Constant Field Values

INVALID

public static final long INVALID
Constructor Detail

WorkoutPower

public WorkoutPower()
Method Detail

getStringFromValue

public static java.lang.String getStringFromValue(java.lang.Long value)
Retrieves the String Representation of the Value

Returns:
The string representation of the value, or empty if unknown

getValueFromString

public static java.lang.Long getValueFromString(java.lang.String value)
Retrieves a value given a string representation

Returns:
The value or INVALID if unkwown