码迷,mamicode.com
首页 > 其他好文 > 详细

Joda-Time

时间:2016-09-25 11:54:38      阅读:118      评论:0      收藏:0      [点我收藏+]

标签:

 

 

 

withMillis

public DateTime withMillis(long newMillis)
Returns a copy of this datetime with different millis.

The returned object will be either be a new instance or this. Only the millis will change, the chronology and time zone are kept.

Parameters:
newMillis - the new millis, from 1970-01-01T00:00:00Z
Returns:
a copy of this datetime with different millis

http://www.joda.org/joda-time/

 

Joda-Time

标签:

原文地址:http://www.cnblogs.com/softidea/p/5905573.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!