class BluetoothBytesParser {

    public boolean setDateTime(Calendar calendar) {
        if (calendar == null) return false;
        mValue = new byte[7];
        mValue[0] = (byte) calendar.get(Calendar.YEAR);
        mValue[1] = (byte) (calendar.get(Calendar.YEAR) >> 8);
        mValue[2] = (byte) (calendar.get(Calendar.MONTH) + 1);
        mValue[3] = (byte) calendar.get(Calendar.DATE);
        mValue[4] = (byte) calendar.get(Calendar.HOUR_OF_DAY);
        mValue[5] = (byte) calendar.get(Calendar.MINUTE);
        mValue[6] = (byte) calendar.get(Calendar.SECOND);
        return true;
    }

    public  BluetoothBytesParser();
    public  BluetoothBytesParser(ByteOrder byteOrder);
    public  BluetoothBytesParser(byte[] value);
    public  BluetoothBytesParser(byte[] value, ByteOrder byteOrder);
    public  BluetoothBytesParser(byte[] value, int offset);
    public  BluetoothBytesParser(byte[] value, int offset, ByteOrder byteOrder);

}