uses the standard algorithm to convert bytes received from the miband to a calendar object concode_field_sep PlaceHolder placeHolder concode_field_sep GregorianCalendar createCalendar concode_elem_sep byte[] calendarToRawBytes
GregorianCalendar function ( byte [ ] arg0 , int arg1 ) { if ( arg0 . length - arg1 >= 6 ) { GregorianCalendar loc0 = new GregorianCalendar ( arg0 [ arg1 ] + 2000 , arg0 [ arg1 + 1 ] , arg0 [ arg1 + 2 ] , arg0 [ arg1 + 3 ] , arg0 [ arg1 + 4 ] , arg0 [ arg1 + 5 ] ) ; return loc0 ; } return createCalendar ( ) ; }