类 TimeSpan.Builder
java.lang.Object
cn.vorbote.core.time.TimeSpan.Builder
- 封闭类:
- TimeSpan
Inner class
Builder of TimeSpan.-
构造器概要
构造器限定符构造器说明protectedBuilder()Generate a newBuilder, use protected to prevent other coders use it. -
方法概要
-
构造器详细资料
-
Builder
protected Builder()Generate a newBuilder, use protected to prevent other coders use it.
-
-
方法详细资料
-
days
Set the number of days between two times.- 参数:
days- The number of days between two times.- 返回:
Builderinstance itself.
-
hours
Set the number of hours between two times.- 参数:
hours- The number of hours between two times.- 返回:
Builderinstance itself.
-
minutes
Set the number of minutes between two times.- 参数:
minutes- The number of minutes between two times.- 返回:
Builderinstance itself.
-
seconds
Set the number of seconds between two times.- 参数:
seconds- The number of seconds between two times.- 返回:
Builderinstance itself.
-
build
Build aTimeSpaninstance.- 返回:
- A
TimeSpaninstance with specified data.
-