public static Date decodeDate ( byte [ ] flakeBytes ) { ByteBuffer buffer = ByteBuffer . allocate ( 16 ) ; buffer . put ( flakeBytes ) ; buffer . flip ( ) ; return new Date ( buffer . getLong ( ) ) ; }
Return the Date from the given encoded Flake id .