Commit Graph

31 Commits

Author SHA1 Message Date
Jonas Maebe
82ff623390 + fixed Julian date helpers (based on patch by Bernd Engelhardt, mantis
#16040)
  * finished remaining unimplemented Julian date helpers

git-svn-id: trunk@15032 -
2010-03-22 21:01:46 +00:00
pierre
2b879fcb54 MaybeSkipTimeWrap function: Change NewDate var_type to var to suppress warnings
git-svn-id: trunk@14091 -
2009-11-07 00:30:32 +00:00
ivost
243e0ff3b5 * reverted r13949 because it's unnecessary test
git-svn-id: trunk@13954 -
2009-10-25 11:06:38 +00:00
ivost
d4d3227e77 * fixed CompareDate function. Only dates are compared now, ignoring time of day.
git-svn-id: trunk@13949 -
2009-10-24 20:53:00 +00:00
ivost
40069c3112 * changed output parameters from var to out. This suppress some unnecessary hints and it's also done in datih.inc
git-svn-id: trunk@13920 -
2009-10-22 21:26:24 +00:00
Jonas Maebe
8193cd175d * corrected *Between() functions: add epsilon and truncate, rather than
round the results (bug reported on irc)

git-svn-id: trunk@13107 -
2009-05-06 20:35:20 +00:00
Jonas Maebe
6a813b8e7b * fixed rounding error in DateTimeToUnix (mantis #12894 and #12936)
* fixed errors in Inc*() routines regarding skipping the black
    home in the data-time continuum around 0, and the same for the
    *Between() functions
  + tests, test...

git-svn-id: trunk@12958 -
2009-03-22 18:26:34 +00:00
joost
d2d4aa22db * Fixed TryEncodeDateTime. Adding a date and a time is not valid for dates before 1899-12-30, use ComposeDateTime instead
git-svn-id: trunk@12561 -
2009-01-18 16:05:04 +00:00
marco
24d8341ed6 * (IDE-sysutils) dateutil has now unpacktime/packtime alike to Delphi dt.
* newstr and disposestr for pshortstring in sysutils. Avoids import order
     problems because of duplicate definitions of pstring between objects
     and sysutils

git-svn-id: trunk@11598 -
2008-08-17 12:10:35 +00:00
micha
83b7f81f81 + add no-fpu support to compiler/rtl for powerpc-linux (-Cfnone)
git-svn-id: trunk@10422 -
2008-03-02 12:59:02 +00:00
yury
617b59e1c0 * Fixed 3 warnings and 1 note.
git-svn-id: trunk@10135 -
2008-02-01 17:42:41 +00:00
peter
f6384b9361 * disable range/overflow checking when calculating with Nan
git-svn-id: trunk@9649 -
2008-01-06 12:45:03 +00:00
mazen
7c19e36595 * Added implementation for Julian date computaton.
git-svn-id: trunk@9604 -
2007-12-31 16:34:45 +00:00
marco
9e1462203c * dateutils.scandatetime, an inverse of formatdatetime
git-svn-id: trunk@8624 -
2007-09-23 20:03:12 +00:00
daniel
7c124b3817 * Fix bug found by new hint.
git-svn-id: trunk@7818 -
2007-06-26 07:52:55 +00:00
yury
e1b9814b5d * fixed some warnings and notes while compiling RTL.
git-svn-id: trunk@4256 -
2006-07-19 10:31:15 +00:00
peter
4286b4364c * Mac conversions from Mark de Wever
git-svn-id: trunk@1764 -
2005-11-16 06:38:33 +00:00
fpc
790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
fpc
50778076c3 initial import
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
Jonas Maebe
2426ecafc3 * fixed several warnings and notes about unused variables (mainly) or
uninitialised use of variables/function results (a few)
2005-03-25 22:53:39 +00:00
peter
e417e34496 * truncate log 2005-02-14 17:13:06 +00:00
michael
81ed80915f + Fixed DecodeDayOfWeekInMonth 2004-12-30 13:06:53 +00:00
michael
b196be77ff + Fixed tryencodedatemonthweek, fixed recodedatetime milliseconds 2004-12-30 11:57:25 +00:00
michael
d27bebb43a * Fixed EndOfADay 2004-12-29 18:31:04 +00:00
michael
9dea580a6a * Fixed StartOfADay 2004-12-29 18:28:21 +00:00
peter
d9223a48da * typo 2004-09-20 15:07:19 +00:00
michael
6fcb485d76 + Fixed some errors pointed out by Armin Diehl 2004-09-20 06:58:59 +00:00
armin
dc7edb39d0 * fixed some compiler warnings 2004-09-19 19:25:52 +00:00
michael
18ad03d0fd + Implemented decodedateweek 2004-08-12 12:26:34 +00:00
michael
1567dc0814 + Moved all resource strings to rtlconst/sysconst 2004-01-10 19:35:17 +00:00
Tomas Hajny
e5c7ce3f5d * include file for dateutil(s) 2003-12-06 18:03:46 +00:00