![]() |
![]() ![]() ![]() |
dcMultiDiskScanner and dcDiskScanner components.
|
type
|
TFindFilesByDateKind = (ffModified, ffCreated, ffAccessed);
|
TSearchTime = class
|
published
|
property AnyTime: Boolean; // True by default
|
property FindFiles: TFindFilesByDateKind;
|
property SinceTime: TDateTime;
|
property TillTime: TDateTime;
|
end;
|
The SearchTime is the list of properties that controls the time range for files that were created, modified or accessed during specific time period, specified by SinceTime and TillTime properties.
|
|
AnyTime property controls whether the MultiDiskScanner should consider the file time and find files with certain date/time. If AnyTime is True, MultiDiskScanner will found files with any time (the modification / creation / access time will does not matter).
|
|
FindFiles property controls what MultiDiskScanner should consider:
|
ffModified | date and time of last modifications in the found file;
|
ffCreated | date and time of file creation;
|
ffAccessed | date when file was last accessed (used).
|
|
SinceTime and TillTime properties controls the period of file creation or last modification.
|
Matches, SearchAttributes, SearchSize properties;
|
OnFileFound event.
|