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
f8530335
Kaydet (Commit)
f8530335
authored
Eyl 26, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:inlinevisible
Change-Id: Id2530063cd0302b65dcc82965f1b81c31b759b63
üst
1df1c5ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dbconversion.hxx
include/connectivity/dbconversion.hxx
+2
-2
No files found.
include/connectivity/dbconversion.hxx
Dosyayı görüntüle @
f8530335
...
@@ -123,11 +123,11 @@ namespace dbtools
...
@@ -123,11 +123,11 @@ namespace dbtools
/** convert a double which is a date value relative to a given fixed date into a date value relative
/** convert a double which is a date value relative to a given fixed date into a date value relative
to the standard db null date.
to the standard db null date.
*/
*/
OOO_DLLPUBLIC_DBTOOLS
inline
double
toStandardDbDate
(
const
::
com
::
sun
::
star
::
util
::
Date
&
_rNullDate
,
double
_rVal
)
{
return
_rVal
+
toDays
(
_rNullDate
);
}
inline
double
toStandardDbDate
(
const
::
com
::
sun
::
star
::
util
::
Date
&
_rNullDate
,
double
_rVal
)
{
return
_rVal
+
toDays
(
_rNullDate
);
}
/** convert a double which is a date value relative to the standard db null date into a date value relative
/** convert a double which is a date value relative to the standard db null date into a date value relative
to a given fixed date.
to a given fixed date.
*/
*/
OOO_DLLPUBLIC_DBTOOLS
inline
double
toNullDate
(
const
::
com
::
sun
::
star
::
util
::
Date
&
_rNullDate
,
double
_rVal
)
{
return
_rVal
-
toDays
(
_rNullDate
);
}
inline
double
toNullDate
(
const
::
com
::
sun
::
star
::
util
::
Date
&
_rNullDate
,
double
_rVal
)
{
return
_rVal
-
toDays
(
_rNullDate
);
}
// return the date from the numberformatsupplier or the STANDARD_DATE (1900,1,1)
// return the date from the numberformatsupplier or the STANDARD_DATE (1900,1,1)
OOO_DLLPUBLIC_DBTOOLS
::
com
::
sun
::
star
::
util
::
Date
getNULLDate
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
util
::
XNumberFormatsSupplier
>
&
xSupplier
);
OOO_DLLPUBLIC_DBTOOLS
::
com
::
sun
::
star
::
util
::
Date
getNULLDate
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
util
::
XNumberFormatsSupplier
>
&
xSupplier
);
...
...
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