com.garmin.fit
Class Weight

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

public class Weight
extends java.lang.Object


Field Summary
static int CALCULATING
           
static int INVALID
           
 
Constructor Summary
Weight()
           
 
Method Summary
static java.lang.String getStringFromValue(java.lang.Integer value)
          Retrieves the String Representation of the Value
static java.lang.Integer 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

CALCULATING

public static final int CALCULATING
See Also:
Constant Field Values

INVALID

public static final int INVALID
Constructor Detail

Weight

public Weight()
Method Detail

getStringFromValue

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

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

getValueFromString

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

Returns:
The value or INVALID if unkwown