Package org.netxms.client.datacollection
Interface TimeFormatter
public interface TimeFormatter
Interface to format time
- 
Method SummaryModifier and TypeMethodDescriptionformatDateAndTime(long timestamp) Format date and time UNIX timestamp to human readable formatformatUptime(long seconds) Format uptime number to human readable format
- 
Method Details- 
formatUptimeFormat uptime number to human readable format- Parameters:
- seconds- number of seconds since uptime
- Returns:
- uptime in human readable format
 
- 
formatDateAndTimeFormat date and time UNIX timestamp to human readable format- Parameters:
- timestamp- UNIX timestamp to format
- Returns:
- time and date in human readable format
 
 
-