程序包 cn.vorbote.time
类 TimeSpan
- java.lang.Object
-
- cn.vorbote.time.TimeSpan
-
public class TimeSpan extends Object
Represents a time interval. We use this class to show diffs from 2DateTimeinstances.- 作者:
- vorbote thills@vorbote.cn
-
-
构造器概要
构造器 构造器 说明 TimeSpan()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringtoString()doubleTotalHours()Get the total hours in thisTimeSpan.longTotalMilliseconds()Get the total milliseconds in thisTimeSpan.longTotalSeconds()Get the total seconds in thisTimeSpan.
-
-
-
方法详细资料
-
TotalSeconds
public long TotalSeconds()
Get the total seconds in thisTimeSpan.- 返回:
- The total seconds in this
TimeSpan.
-
TotalMilliseconds
public long TotalMilliseconds()
Get the total milliseconds in thisTimeSpan.- 返回:
- The total milliseconds in this
TimeSpan.
-
TotalHours
public double TotalHours()
Get the total hours in thisTimeSpan.- 返回:
- The total milliseconds in this
TimeSpan.
-
-