@classmethod
def from_date(cls, d):
    """ Abstract class method.

        For instance, ``Month.from_date(datetime.date(2012, 6, 6))`` returns a ``Month(2012, 6)``."""
    raise NotImplementedError
