Make printable representation out of this instance.

def fmt(self):
        """Make printable representation out of this instance.
        """
        val = str(self.year)
        if self.month is not None:
            val += ' ' + str(self.month)
            if self.day is not None:
                val += ' ' + str(self.day)
        return val