[Python-checkins] python/dist/src/Doc/lib libdatetime.tex,1.31,1.32

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
2003年1月08日 20:10:07 -0800


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv8938/python/Doc/lib
Modified Files:
	libdatetime.tex 
Log Message:
Massive fiddling to reflect that datetimetz and timetz no longer exist.
WARNING: It would be a minor miracle if the LaTeX stuff still worked.
s/field/member/ generally everywhere, to conform with most other usage in
the docs.
s/daylight savings time/daylight saving time/ generally everywhere,
because the latter spelling is anally correct.
Index: libdatetime.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libdatetime.tex,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** libdatetime.tex	6 Jan 2003 15:03:11 -0000	1.31
--- libdatetime.tex	9 Jan 2003 04:10:05 -0000	1.32
***************
*** 17,26 ****
 and times in both simple and complex ways. While date and time
 arithmetic is supported, the focus of the implementation is on
! efficient field extraction, for output formatting and manipulation.
 
 There are two kinds of date and time objects: ``naive'' and ``aware''.
 This distinction refers to whether the object has any notion of time
! zone, daylight savings time, or other kind of algorithmic or political
! time adjustment. Whether a {naive} \class{datetime} object represents
 Coordinated Universal Time (UTC), local time, or time in some other
 timezone is purely up to the program, just like it's up to the program
[...1421 lines suppressed...]
 
 \subsection{\method{strftime()} Behavior}
 
! \class{date}, \class{datetime}, and \class{time}
! objects all support a \code{strftime(\var{format})}
 method, to create a string representing the time under the control of
 an explicit format string. Broadly speaking,
***************
*** 1466,1470 ****
 although not all objects support a \method{timetuple()} method.
 
! For \class{time} and \class{timetz} objects, the format codes for
 year, month, and day should not be used, as time objects have no such
 values. If they're used anyway, \code{1900} is substituted for the
--- 1176,1180 ----
 although not all objects support a \method{timetuple()} method.
 
! For \class{time} objects, the format codes for
 year, month, and day should not be used, as time objects have no such
 values. If they're used anyway, \code{1900} is substituted for the

AltStyle によって変換されたページ (->オリジナル) /