String [ ] function ( long arg0 ) { Date loc0 = new Date ( arg0 ) ; Format loc1 = new SimpleDateFormat ( "srini_string" , Locale . US ) ; String loc2 = loc1 . format ( loc0 ) ; String [ ] loc3 = loc2 . split ( "srini_string" ) ; return loc3 ; }
helper method to get the date and time from timestamp . converts the timestamp in milliseconds to date and time and then formats the date object with format and returns the string of date and time separately respectively concode_field_sep Context myContext concode_elem_sep boolean isServerReachable concode_field_sep long getCurrentTimeStamp concode_elem_sep boolean isResourceServerReachable concode_elem_sep boolean isLocationEnabled concode_elem_sep boolean isNumeric concode_elem_sep boolean isConnectedOnline concode_elem_sep String getDateAndTime concode_elem_sep ArrayList<String> getStates