toggle menu
NexconnChatUISDK
26.1.0
NexconnChatUISDK
switch theme
search in API
NexconnChatUISDK
/
ai.nexconn.chatui.picture.tools
/
DateUtils
Date
Utils
public
class
DateUtils
Members
Functions
cd
Time
Link copied to clipboard
public
String
cdTime
(
long sTime
,
long eTime
)
Calculate the time interval between two timestamps
date
Differ
Link copied to clipboard
public
int
dateDiffer
(
long d
)
Calculate the difference in seconds between two timestamps
format
Duration
Time
Link copied to clipboard
public
String
formatDurationTime
(
long duration
)
Convert timestamp to time format
get
Create
File
Name
Link copied to clipboard
public
String
getCreateFileName
(
String
prefix
)
Create file name from timestamp
get
Instance
Link copied to clipboard
public
static
DateUtils
getInstance
(
)