@classmethod
def from_struct_time(cls, t):
    """Constructs a :py:class:`Date` from a struct_time, such as
        might be returned from time.gmtime() and related functions."""
    return cls(century=t[0] // 100, year=t[0] % 100, month=t[1], day=t[2])
