blob: cffbe24dcaa7e853e3ea0bd5cd5d1fbe1bbed409 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# pylint: disable=missing-docstring, too-few-public-methods
import datetime
class NewDate(datetime.date):
@classmethod
def today(cls):
return cls(2010, 1, 1)
class Next:
def __init__(self):
datetime.date = NewDate
|