JavaScript logic for observation view.
        
        
            
- Source:
 
Classes
Methods
(inner) countToString(count)
    Returns the given count as a string with abbreviation, e.g. "13 ct.".
    Parameters:
| Name | Type | Description | 
|---|---|---|
count | 
            
            number | The count to make the string from. | 
- Source:
 
(inner) getDaylightSaving()
    Gets the daylight saving time offset in milliseconds.
- Source:
 
(inner) getTimeZoneOffset()
    Gets the offset of the time zone in milliseconds (in JAVA format).
- Source:
 
(inner) keepAlive()
    Sends an AJAX keep-alive signal to the backend.
- Source:
 
(inner) showError(error_msg)
    Shows an error message in a PrimeFaces growl.
    Parameters:
| Name | Type | Description | 
|---|---|---|
error_msg | 
            
            String | The error message to be shown. | 
- Source:
 
(inner) stopObservation()
    The function will call observer.stop().
It is needed if the stopping of the observation has to be confirmed.
- Source:
 
(inner) timeToString(ms)
    Converts milliseconds to a string representing time.
The time format is hh:mm:ss if the given time is at
least one hour and mm:ss otherwise.
    Parameters:
| Name | Type | Description | 
|---|---|---|
ms | 
            
            number | The time in milliseconds. | 
- Source: