comparison roundup/date.py @ 213:d45384bc6420

Added the copyright/license notice to (nearly) all files... ...at request of Bizar Software.
author Richard Jones <richard@users.sourceforge.net>
date Tue, 07 Aug 2001 00:15:51 +0000
parents 1eb862f4bf56
children 18134bffab37
comparison
equal deleted inserted replaced
212:862dafca2a72 213:d45384bc6420
1 # $Id: date.py,v 1.8 2001-08-05 07:46:12 richard Exp $ 1 #
2 # Copyright (c) 2001 Bizar Software Pty Ltd (http://www.bizarsoftware.com.au/)
3 # This module is free software, and you may redistribute it and/or modify
4 # under the same terms as Python, so long as this copyright message and
5 # disclaimer are retained in their original form.
6 #
7 # IN NO EVENT SHALL THE BIZAR SOFTWARE PTY LTD BE LIABLE TO ANY PARTY FOR
8 # DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING
9 # OUT OF THE USE OF THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE
10 # POSSIBILITY OF SUCH DAMAGE.
11 #
12 # BIZAR SOFTWARE PTY LTD SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
17 #
18 # $Id: date.py,v 1.9 2001-08-07 00:15:51 richard Exp $
2 19
3 import time, re, calendar 20 import time, re, calendar
4 21
5 class Date: 22 class Date:
6 ''' 23 '''
361 if __name__ == '__main__': 378 if __name__ == '__main__':
362 test() 379 test()
363 380
364 # 381 #
365 # $Log: not supported by cvs2svn $ 382 # $Log: not supported by cvs2svn $
383 # Revision 1.8 2001/08/05 07:46:12 richard
384 # Changed date.Date to use regular string formatting instead of strftime -
385 # win32 seems to have problems with %T and no hour... or something...
386 #
366 # Revision 1.7 2001/08/02 00:27:04 richard 387 # Revision 1.7 2001/08/02 00:27:04 richard
367 # Extended the range of intervals that are pretty-printed before actual dates 388 # Extended the range of intervals that are pretty-printed before actual dates
368 # are displayed. 389 # are displayed.
369 # 390 #
370 # Revision 1.6 2001/07/31 09:54:18 richard 391 # Revision 1.6 2001/07/31 09:54:18 richard

Roundup Issue Tracker: http://roundup-tracker.org/