Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
c5528b1f
Kaydet (Commit)
c5528b1f
authored
Tem 02, 2003
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Revert the previous change; this is now dealt with in a better way.
üst
6675881a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
0 deletions
+54
-0
libdatetime.tex
Doc/lib/libdatetime.tex
+54
-0
No files found.
Doc/lib/libdatetime.tex
Dosyayı görüntüle @
c5528b1f
...
...
@@ -1398,3 +1398,57 @@ C standard added additional format codes.
The exact range of years for which
\method
{
strftime()
}
works also
varies across platforms. Regardless of platform, years before 1900
cannot be used.
\begin{comment}
\subsection
{
C API
}
Struct typedefs:
PyDateTime
_
Date
PyDateTime
_
DateTime
PyDateTime
_
Time
PyDateTime
_
Delta
PyDateTime
_
TZInfo
Type-check macros:
PyDate
_
Check(op)
PyDate
_
CheckExact(op)
PyDateTime
_
Check(op)
PyDateTime
_
CheckExact(op)
PyTime
_
Check(op)
PyTime
_
CheckExact(op)
PyDelta
_
Check(op)
PyDelta
_
CheckExact(op)
PyTZInfo
_
Check(op)
PyTZInfo
_
CheckExact(op)
Accessor macros:
All objects are immutable, so accessors are read-only. All macros
return ints:
For
\class
{
date
}
and
\class
{
datetime
}
instances:
PyDateTime
_
GET
_
YEAR(o)
PyDateTime
_
GET
_
MONTH(o)
PyDateTime
_
GET
_
DAY(o)
For
\class
{
datetime
}
instances:
PyDateTime
_
DATE
_
GET
_
HOUR(o)
PyDateTime
_
DATE
_
GET
_
MINUTE(o)
PyDateTime
_
DATE
_
GET
_
SECOND(o)
PyDateTime
_
DATE
_
GET
_
MICROSECOND(o)
For
\class
{
time
}
instances:
PyDateTime
_
TIME
_
GET
_
HOUR(o)
PyDateTime
_
TIME
_
GET
_
MINUTE(o)
PyDateTime
_
TIME
_
GET
_
SECOND(o)
PyDateTime
_
TIME
_
GET
_
MICROSECOND(o)
\end{comment}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment