com.fitbit.api.common.model.timeseries
Class Data

java.lang.Object
  extended by com.fitbit.api.common.model.timeseries.Data

public class Data
extends Object

User: gkutlu Date: Aug 14, 2010 Time: 11:22:33 PM


Constructor Summary
Data(org.json.JSONObject json)
           
 
Method Summary
 double doubleValue()
           
 String getDateTime()
           
 String getValue()
           
 int intValue()
           
static List<Data> jsonArrayToDataList(org.json.JSONArray array)
           
 long longValue()
           
 short shortValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Data

public Data(org.json.JSONObject json)
     throws org.json.JSONException
Throws:
org.json.JSONException
Method Detail

jsonArrayToDataList

public static List<Data> jsonArrayToDataList(org.json.JSONArray array)
                                      throws org.json.JSONException
Throws:
org.json.JSONException

getDateTime

public String getDateTime()

getValue

public String getValue()

longValue

public long longValue()

intValue

public int intValue()

shortValue

public short shortValue()

doubleValue

public double doubleValue()


Copyright © 2012. All Rights Reserved.