mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-02-04 12:14:50 +01:00
- Adds threadsafe (Delphi-compatible) versions of DateToStr,
TimeToStr, DateTimeToStr, FormatDateTime.
- Core functionality moved to DateTimeToString, which directly
uses 'out' parameter in order to avoid unnecessary result copying.
- Modified the code so no temporary AnsiStrings are used (speed).
- Fixes a bug which would cause infinite recursion if
(Short|Long)DateFormat variable would contain 'd' character or,
likewise, (Short|Long)TimeFormat would contain 't'.
- Fixes numerous small Delphi compatibility issues, like: empty format
string has the same effect as 'C'; overlong tokens treated as the
longest possible ones (e.g. 'ddddddddd' is the same as 'dddddd');
'AM/PM' is output preserving its case, etc.
- minor reformating
git-svn-id: trunk@14116 -
|
||
|---|---|---|
| .. | ||
| classes | ||
| sysutils | ||
| convutil.inc | ||
| convutil.pp | ||
| convutils.pp | ||
| cvarutil.inc | ||
| dateutil.inc | ||
| dateutil.pp | ||
| dateutils.pp | ||
| fgl.pp | ||
| fmtbcd.pp | ||
| freebidi.pp | ||
| math.pp | ||
| objpas.pp | ||
| README.txt | ||
| rtlconst.inc | ||
| rtlconst.pp | ||
| rtlconsts.pp | ||
| stdconvs.pp | ||
| strutils.pp | ||
| sysconst.pp | ||
| types.pp | ||
| typinfo.pp | ||
| utf8bidi.pp | ||
| varutilh.inc | ||
| varutils.inc | ||
This directory contains units that are part of the Object Pascal support
of the Free Pascal Compiler.
You can find here the following files:
objpas.pp : makes Free Pascal more Borland Delphi compatible, data types
are redefined
math.pp : Contains basic mathematical functions, as well as some financial
functions.
sysutils.pp : Contains the exception support of the Free Pascal Compiler.
sysutils/*h.inc : Contain parts of the sysutils unit, with function declarations.
sysutils/*.inc : Contain parts of the sysutils unit, with implementations of:
dati : Date & Time handling functions.
fina : FileName handling functions.
sysstr : miscellaneous string handling functions, and conversion
routines.
syspch : miscellaneous pchar handling functions.
Enjoy !
The Free Pascal Development Team.