Changes

Jump to: navigation, search

OPS435 Python3 Assignment 2P

No change in size, 18:02, 11 November 2019
Programmer-defined object type: Date
** __init__(self): Date object constructor
** __repr__(self): return date object as a string in "yyyy-mm-dd" format
** __str__(self): return date object as a string in "yyyy:/mm:/dd" format
* Supporting function:
** days_to_time(): convert an integer which is n days from epoch (Jan 1, 1970) to a corresponding date object.
1,760
edits

Navigation menu