public static long calculateLastSrTimestamp ( long ntp1 , long ntp2 ) { byte [ ] high = uIntLongToByteWord ( ntp1 ) ; byte [ ] low = uIntLongToByteWord ( ntp2 ) ; low [ 3 ] = low [ 1 ] ; low [ 2 ] = low [ 0 ] ; low [ 1 ] = high [ 3 ] ; low [ 0 ] = high [ 2 ] ; return bytesToUIntLong ( low , 0 ) ; }
Calculates the time stamp of the last received SR .