类 Duration
java.lang.Object
ai.nextbillion.maps.model.Duration
- 所有已实现的接口:
java.io.Serializable
public class Duration
extends java.lang.Object
implements java.io.Serializable
The duration component for Directions API results.
- 另请参阅:
- 序列化表格
-
字段概要
字段 修饰符和类型 字段 说明 java.lang.StringhumanReadableThe human-friendly duration.longinSecondsThe numeric duration, in seconds. -
构造器概要
构造器 构造器 说明 Duration() -
方法概要
修饰符和类型 方法 说明 java.lang.StringtoString()
-
字段详细资料
-
inSeconds
public long inSecondsThe numeric duration, in seconds. This is intended to be used only in algorithmic situations, e.g. sorting results by some user specified metric. -
humanReadable
public java.lang.String humanReadableThe human-friendly duration. Use this for display purposes.
-
-
构造器详细资料
-
Duration
public Duration()
-
-
方法详细资料
-
toString
public java.lang.String toString()- 覆盖:
toString在类中java.lang.Object
-