mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-25 15:17:10 +01:00
* fixed some compiler warnings
This commit is contained in:
parent
1120c598aa
commit
dc7edb39d0
@ -1513,7 +1513,7 @@ end;
|
|||||||
|
|
||||||
Function EncodeDateWeek(const AYear, AWeekOfYear: Word): TDateTime; //; const ADayOfWeek: Word = 1
|
Function EncodeDateWeek(const AYear, AWeekOfYear: Word): TDateTime; //; const ADayOfWeek: Word = 1
|
||||||
begin
|
begin
|
||||||
EncodeDateWeek(AYear,AWeekOfYear,1);
|
Result := EncodeDateWeek(AYear,AWeekOfYear,1);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
@ -1692,55 +1692,55 @@ Const
|
|||||||
Function RecodeYear(const AValue: TDateTime; const AYear: Word): TDateTime;
|
Function RecodeYear(const AValue: TDateTime; const AYear: Word): TDateTime;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
RecodeDateTime(AValue,AYear,LFAI,LFAI,LFAI,LFAI,LFAI,LFAI);
|
Result := RecodeDateTime(AValue,AYear,LFAI,LFAI,LFAI,LFAI,LFAI,LFAI);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
Function RecodeMonth(const AValue: TDateTime; const AMonth: Word): TDateTime;
|
Function RecodeMonth(const AValue: TDateTime; const AMonth: Word): TDateTime;
|
||||||
begin
|
begin
|
||||||
RecodeDateTime(AValue,LFAI,AMonth,LFAI,LFAI,LFAI,LFAI,LFAI);
|
Result := RecodeDateTime(AValue,LFAI,AMonth,LFAI,LFAI,LFAI,LFAI,LFAI);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
Function RecodeDay(const AValue: TDateTime; const ADay: Word): TDateTime;
|
Function RecodeDay(const AValue: TDateTime; const ADay: Word): TDateTime;
|
||||||
begin
|
begin
|
||||||
RecodeDateTime(AValue,LFAI,LFAI,ADay,LFAI,LFAI,LFAI,LFAI);
|
Result := RecodeDateTime(AValue,LFAI,LFAI,ADay,LFAI,LFAI,LFAI,LFAI);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
Function RecodeHour(const AValue: TDateTime; const AHour: Word): TDateTime;
|
Function RecodeHour(const AValue: TDateTime; const AHour: Word): TDateTime;
|
||||||
begin
|
begin
|
||||||
RecodeDateTime(AValue,LFAI,LFAI,LFAI,AHour,LFAI,LFAI,LFAI);
|
Result := RecodeDateTime(AValue,LFAI,LFAI,LFAI,AHour,LFAI,LFAI,LFAI);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
Function RecodeMinute(const AValue: TDateTime; const AMinute: Word): TDateTime;
|
Function RecodeMinute(const AValue: TDateTime; const AMinute: Word): TDateTime;
|
||||||
begin
|
begin
|
||||||
RecodeDateTime(AValue,LFAI,LFAI,LFAI,LFAI,AMinute,LFAI,LFAI);
|
Result := RecodeDateTime(AValue,LFAI,LFAI,LFAI,LFAI,AMinute,LFAI,LFAI);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
Function RecodeSecond(const AValue: TDateTime; const ASecond: Word): TDateTime;
|
Function RecodeSecond(const AValue: TDateTime; const ASecond: Word): TDateTime;
|
||||||
begin
|
begin
|
||||||
RecodeDateTime(AValue,LFAI,LFAI,LFAI,LFAI,LFAI,ASecond,LFAI);
|
Result := RecodeDateTime(AValue,LFAI,LFAI,LFAI,LFAI,LFAI,ASecond,LFAI);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
Function RecodeMilliSecond(const AValue: TDateTime; const AMilliSecond: Word): TDateTime;
|
Function RecodeMilliSecond(const AValue: TDateTime; const AMilliSecond: Word): TDateTime;
|
||||||
begin
|
begin
|
||||||
RecodeDateTime(AValue,LFAI,LFAI,LFAI,LFAI,LFAI,LFAI,AMilliSecond);
|
Result := RecodeDateTime(AValue,LFAI,LFAI,LFAI,LFAI,LFAI,LFAI,AMilliSecond);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
Function RecodeDate(const AValue: TDateTime; const AYear, AMonth, ADay: Word): TDateTime;
|
Function RecodeDate(const AValue: TDateTime; const AYear, AMonth, ADay: Word): TDateTime;
|
||||||
begin
|
begin
|
||||||
RecodeDateTime(AValue,AYear,AMonth,ADay,LFAI,LFAI,LFAI,LFAI);
|
Result := RecodeDateTime(AValue,AYear,AMonth,ADay,LFAI,LFAI,LFAI,LFAI);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
Function RecodeTime(const AValue: TDateTime; const AHour, AMinute, ASecond, AMilliSecond: Word): TDateTime;
|
Function RecodeTime(const AValue: TDateTime; const AHour, AMinute, ASecond, AMilliSecond: Word): TDateTime;
|
||||||
begin
|
begin
|
||||||
RecodeDateTime(AValue,LFAI,LFAI,LFAI,AHour,AMinute,ASecond,AMilliSecond);
|
Result := RecodeDateTime(AValue,LFAI,LFAI,LFAI,AHour,AMinute,ASecond,AMilliSecond);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
@ -1996,7 +1996,10 @@ end.
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.3 2004-08-12 12:26:34 michael
|
Revision 1.4 2004-09-19 19:25:52 armin
|
||||||
|
* fixed some compiler warnings
|
||||||
|
|
||||||
|
Revision 1.3 2004/08/12 12:26:34 michael
|
||||||
+ Implemented decodedateweek
|
+ Implemented decodedateweek
|
||||||
|
|
||||||
Revision 1.2 2004/01/10 19:35:17 michael
|
Revision 1.2 2004/01/10 19:35:17 michael
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user