Package DateHandler :: Module _DateDisplay :: Class DateDisplay
[frames] | no frames]

Class DateDisplay

source code


Instance Methods
 
__init__(self, format=None) source code
 
display(self, date)
Returns a text string representing the date.
source code
 
display_iso(self, date_val) source code
 
quote_display(self, date)
Similar to the display task, except that if the value is a text only value, it is enclosed in quotes.
source code
 
set_format(self, format) source code
 
text_display(self, date)
Similar to the display task, except that if the value is a text only value, it is enclosed in quotes.
source code
 
verify_format(self, format) source code
Class Variables
  calendar = ('', ' (Julian)', ' (Hebrew)', ' (French Republican...
  formats = ('YYYY-MM-DD (ISO)')
Class Variable Details

calendar

Value:
('',
 ' (Julian)',
 ' (Hebrew)',
 ' (French Republican)',
 ' (Persian)',
 ' (Islamic)')