Summary of MiscUtils.BasicDateTime

You can also browse the complete source file or the generated documentation.


class DaysInMonth:
    def calculate(self, year, month)
    def isleap(self, year)
    def test(self)
    def weekday(self, year, month, day)


class datetime:
    def __init__(self, year, month, day, hour=0, minute=0, second=0, microsecond=0)
    def now(self)

    ## Comparison Operators ##
    def __cmp__(self, other)
    def __eq__(self, other)
    def __ne__(self, other)
    def __str__(self)
    def __repr__(self)
    def __getitem__(self, item)

    ## Formatting ##
    def strftime(self, format)

    ## Conversion ##
    def timetuple(self)
    def isoformat(self)


class date(datetime):
    def __init__(self, year, month, day)
    def __repr__(self)
    def isoformat(self)
    def timetuple(self)
    def now(self)


class time(datetime):
    def __init__(self, hour=0, minute=0, second=0, microsecond=0)
    def __repr__(self)
    def isoformat(self)
    def timetuple(self)
    def now(self)