public static Double internalToTime ( TimeUnit unit , long internalTime ) { return Math . round ( internalTime * TimeUnit . nanosecond . getValue ( ) / unit . getValue ( ) * PRECISION ) / PRECISION ; }
Utility method to convert the internal time to the given unit .