public static long unpackTime ( final int packedTime ) { final int hours = ( packedTime & MASK_HOURS ) ; final int minutes = ( packedTime & MASK_MINUTES ) >> ( START_BIT_MINUTES ) ; final int seconds = ( packedTime & MASK_SECONDS ) >> ( START_BIT_SECONDS ) ; final int millis = ( packedTime & MASK_MILLISECONDS ) >> ( START_BIT_MILLISECONDS ) ; long returnValue = ( long ) hours * 60 * 60 * 1000 ; returnValue += ( long ) minutes * 60 * 1000 ; returnValue += ( long ) seconds * 1000 ; returnValue += ( long ) millis ; return returnValue ; }
unpacks an integer packed by packTime