l.a.b.t.DateTimeFormatterAPI : class documentation

Part of lp.app.browser.tales View In Hierarchy

Adapter from datetime objects to a formatted string.
Method __init__ Undocumented
Method time Undocumented
Method date Undocumented
Method displaydate Undocumented
Method approximatedate Undocumented
Method datetime Undocumented
Method rfc822utcdatetime Undocumented
Method isodate Undocumented
Method durationsince How long since the datetime, as a string.
Method _now Undocumented
Static Method _yearDelta Return the difference in years between two datetimes.
def __init__(self, datetimeobject):
Undocumented
def time(self):
Undocumented
def date(self):
Undocumented
def _now(self):
Undocumented
def displaydate(self):
Undocumented
def approximatedate(self):
Undocumented
def datetime(self):
Undocumented
def rfc822utcdatetime(self):
Undocumented
def isodate(self):
Undocumented
@staticmethod
def _yearDelta(old, new):
Return the difference in years between two datetimes.
ParametersoldThe old date
newThe new date
def durationsince(self):
How long since the datetime, as a string.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.