@classmethod
def mask(cls, dt, **options):
    """
        Return a datetime with the same value as ``dt``, to a
        resolution of years.
        """
    return dt.replace(month=1, day=1, hour=0, minute=0, second=0, microsecond=0
        )
