类的使用
cn.vorbote.core.time.TimeSpan
使用TimeSpan的程序包
-
cn.vorbote.core.time中TimeSpan的使用
返回TimeSpan的cn.vorbote.core.time中的方法修饰符和类型方法说明TimeSpan.addDays(int days) Add days to thisTimeSpan.
Note: This method support chain call.TimeSpan.addHours(int hours) Add hours to thisTimeSpan.
Note: This method support chain call.TimeSpan.addMinutes(int minutes) Add minutes to thisTimeSpan.
Note: This method support chain call.TimeSpan.addSeconds(int seconds) Add seconds to thisTimeSpan.
Note: This method support chain call.TimeSpan.Builder.build()Build aTimeSpaninstance.ADateTimeinstance minus another instance will return aTimeSpaninstance, thisTimeSpaninstance will tell you how many days, hours, minutes, seconds and milliseconds between them.TimeSpan.totalSeconds(long totalSeconds) 参数类型为TimeSpan的cn.vorbote.core.time中的方法