public Duration getUptime ( ) { final DateTime startup = getStartupDate ( ) ; if ( null != startup ) { return Duration . elapsed ( Time . valueOf ( startup . toDate ( ) ) ) ; } return Duration . NONE ; }
Gets the elapsed duration since this application was initialized .