hyphenate_SDK3.0  3.0.1
hyphenatejavaIMSDK
Static Public Member Functions | List of all members
com.hyphenate.util.DateUtils Class Reference

Static Public Member Functions

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 ()
 

Member Function Documentation

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

endtime为今天

Returns
static String com.hyphenate.util.DateUtils.toTime ( int  timeLength)
static
Parameters
timeLengthMillisecond
Returns
static String com.hyphenate.util.DateUtils.toTimeBySecond ( int  timeLength)
static
Parameters
timeLengthsecond
Returns

The documentation for this class was generated from the following file: