Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
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ç
LibreOffice
core
Commits
0e65e822
Kaydet (Commit)
0e65e822
authored
Nis 28, 2017
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Adapt documentation to reality
Change-Id: Ic76cdff3c95e68e91700ca7143e8aa8c908ed56e
üst
8bdbfdb9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
date.hxx
include/tools/date.hxx
+4
-4
No files found.
include/tools/date.hxx
Dosyayı görüntüle @
0e65e822
...
@@ -164,8 +164,8 @@ public:
...
@@ -164,8 +164,8 @@ public:
/** If the represented date is valid (1<=month<=12, 1<=day<=(28,29,30,31)
/** If the represented date is valid (1<=month<=12, 1<=day<=(28,29,30,31)
depending on month/year) AND is of the Gregorian calendar (1582-10-15
depending on month/year) AND is of the Gregorian calendar (1582-10-15
<= date)
(AND implicitly date <= 9999-12-31 due to internal
<= date)
representation)
*/
*/
bool
IsValidAndGregorian
()
const
;
bool
IsValidAndGregorian
()
const
;
/** If the represented date is valid (1<=month<=12, 1<=day<=(28,29,30,31)
/** If the represented date is valid (1<=month<=12, 1<=day<=(28,29,30,31)
...
@@ -175,8 +175,8 @@ public:
...
@@ -175,8 +175,8 @@ public:
/** Normalize date, invalid day or month values are adapted such that they
/** Normalize date, invalid day or month values are adapted such that they
carry over to the next month or/and year, for example 1999-02-32
carry over to the next month or/and year, for example 1999-02-32
becomes 1999-03-04, 1999-13-01 becomes 2000-01-01, 1999-13-42 becomes
becomes 1999-03-04, 1999-13-01 becomes 2000-01-01, 1999-13-42 becomes
2000-02-11. Truncates at
9999-12-31, 0000-00-x will yield the
2000-02-11. Truncates at
-32768-01-01 or 32767-12-31, 0001-00-x will
normalized value of 0000-01-max(1,(x-31))
yield the normalized value of -0001-12-x
This may be necessary after Date ctors or if the SetDate(), SetDay(),
This may be necessary after Date ctors or if the SetDate(), SetDay(),
SetMonth(), SetYear() methods set individual non-matching values.
SetMonth(), SetYear() methods set individual non-matching values.
...
...
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