hyphenate_SDK3.0  3.0.1
hyphenatejavaIMSDK
静态 Public 成员函数 | 所有成员列表
com.hyphenate.util.DateUtils类 参考

静态 Public 成员函数

static String getTimestampString (Date messageDate)
 
static boolean isCloseEnough (long time1, long time2)
 
static Date StringToDate (String dateStr, String formatStr)
 
static String toTime (int timeLength)
 
static String toTimeBySecond (int timeLength)
 
static TimeInfo getYesterdayStartAndEndTime ()
 
static TimeInfo getTodayStartAndEndTime ()
 
static TimeInfo getBeforeYesterdayStartAndEndTime ()
 
static TimeInfo getCurrentMonthStartAndEndTime ()
 
static TimeInfo getLastMonthStartAndEndTime ()
 
static String getTimestampStr ()
 

成员函数说明

static TimeInfo com.hyphenate.util.DateUtils.getCurrentMonthStartAndEndTime ( )
static

endtime为今天

返回
static String com.hyphenate.util.DateUtils.toTime ( int  timeLength)
static
参数
timeLengthMillisecond
返回
static String com.hyphenate.util.DateUtils.toTimeBySecond ( int  timeLength)
static
参数
timeLengthsecond
返回

该类的文档由以下文件生成: