Package | Description |
---|---|
org.nutz.castor.castor |
Nutz内置的全部的castor实现
|
org.nutz.lang |
Java语法糖,封装众多常用实用方法
|
Modifier and Type | Method and Description |
---|---|
Times.TmInfo |
Integer2TmInfo.cast(Integer src,
Class<?> toType,
String... args) |
Times.TmInfo |
Long2TmInfo.cast(Long src,
Class<?> toType,
String... args) |
Times.TmInfo |
String2TmInfo.cast(String src,
Class<?> toType,
String... args) |
Modifier and Type | Method and Description |
---|---|
String |
TmInfo2String.cast(Times.TmInfo src,
Class<?> toType,
String... args) |
Integer |
TmInfo2Integer.cast(Times.TmInfo src,
Class<?> toType,
String... args) |
Long |
TmInfo2Long.cast(Times.TmInfo src,
Class<?> toType,
String... args) |
Modifier and Type | Method and Description |
---|---|
static Times.TmInfo |
Times.Ti(int sec)
将一个秒数(天中),转换成一个时间对象:
|
static Times.TmInfo |
Times.Ti(String ts)
将一个时间字符串,转换成一个一天中的绝对时间对象
|
static Times.TmInfo |
Times.Tims(long ams)
将一个毫秒数(天中),转换成一个时间对象:
|
Copyright © 2019. All rights reserved.