public class Visit
extends java.lang.Object
| Constructor and Description |
|---|
Visit(Location locaton,
Visit relatedVisit) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
enter() |
protected int |
exit() |
long |
getArrivalTime()
Returns the number of milliseconds since epoch start representing the time the
Location was entered.
|
long |
getDepartureTime()
Returns the number of milliseconds since epoch start representing the time the
Location was exited.
|
long |
getDwellTime()
Returns the number of milliseconds the mobile device was within the Location.
|
long |
getElapsedTime()
Returns the number of milliseconds the mobile device was within the Location as wall or
elapsed time.
|
long |
getFirstEnterTime() |
long |
getIntervalSinceDeparture()
Returns the number of milliseconds since the Location associated with this Visit was
exited.
|
Location |
getLocation()
Get the Location object tied to this Visit.
|
Visit |
getParent()
Get the parent Visit.
|
boolean |
isFirstEnter()
Determine if this is the first enter to a location
|
java.lang.String |
toString() |
protected int enter()
protected int exit()
public Visit getParent()
public Location getLocation()
public long getIntervalSinceDeparture()
public long getDepartureTime()
public long getArrivalTime()
public long getElapsedTime()
public long getDwellTime()
public boolean isFirstEnter()
public long getFirstEnterTime()
public java.lang.String toString()
toString in class java.lang.Object