Unit sDate |
Classes |
TsDate -
Functions |
DaysPerMonth -
DefDateFormat -
DefDateMask -
ExtractDay - Utils
ExtractMonth -
ExtractYear -
GetDateOrder -
IncDate - leap-year Feb is special
IncDay -
IncMonth -
IncYear -
IsLeapYear -
StrToDateDef -
StrToDateFmt -
StrToDateFmtDef -
Types |
Constants |
Variables |
Functions |
Types |
TDateArrayType = array[1..42] of string[2];Declares TsDate class - general date handling class, used in TsDateEdit and TsCalndar. The rest of the functions here just copied from RX's dateUtils unit - sometime for compatibility with other RX units, sometime I realy use them. Here is a hell of a job has to be done for optimizing of code. (a lot of stay along RX's functions and TsDate's members have the same functionality). If someone really care - go ahead and please send me a copy. Dimitry Statilko, dstatilko@hotmail.com
TDateOrder = (doMDY, doDMY, doYMD);
Constants |
Variables |