Skip to content

Commit

Permalink
Files: Added TFileDates record
Browse files Browse the repository at this point in the history
  • Loading branch information
jackdp committed Aug 5, 2022
1 parent 46e3053 commit a6bd630
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Base/JPL.Files.pas
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ interface

type

TFileDates = record
Creation: TDateTime;
Modification: TDateTime;
Access: TDateTime;
procedure Clear;
end;

TFileSystemItemType = (fsitFile, fsitDirectory, fsitUnknown);

TFileNameRec = record
Expand Down Expand Up @@ -765,4 +772,15 @@ function TFileInfoRec.AsString: string;

{$endregion TFileInfoRec}



{ TFileDates }

procedure TFileDates.Clear;
begin
Creation := EMPTY_DATE;
Modification := EMPTY_DATE;
Access := EMPTY_DATE;
end;

end.

0 comments on commit a6bd630

Please sign in to comment.