com.fitbit.api.common.model.body
Class WeightLog

java.lang.Object
  extended by com.fitbit.api.common.model.body.WeightLog

public class WeightLog
extends Object

Created by IntelliJ IDEA. User: Kiryl Date: 2/8/12 Time: 3:07 AM


Constructor Summary
WeightLog(org.json.JSONObject jsonObject)
           
WeightLog(long logId, double weight, double bmi, org.joda.time.LocalDate date, String time)
           
 
Method Summary
static List<WeightLog> constructWeightLogList(org.json.JSONArray array)
           
 double getBmi()
           
 org.joda.time.LocalDate getDate()
           
 long getLogId()
           
 String getTime()
           
 double getWeight()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeightLog

public WeightLog(long logId,
                 double weight,
                 double bmi,
                 org.joda.time.LocalDate date,
                 String time)

WeightLog

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

constructWeightLogList

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

getLogId

public long getLogId()

getWeight

public double getWeight()

getBmi

public double getBmi()

getDate

public org.joda.time.LocalDate getDate()

getTime

public String getTime()


Copyright © 2012. All Rights Reserved.