:return: bytes

def data_to_binary(self):
        """
        :return: bytes
        """
        return bytes([
            COMMAND_CODE,
            self._day,
            self._mon,
            (self._year >> 8),
            (self._year & 0x00ff)
        ])