CFileTimeSpan Class
This class provides methods for managing relative date and time values associated with a file.
class CFileTimeSpan
Members
Public Constructors
Name |
Description |
---|---|
The constructor. |
Public Methods
Name |
Description |
---|---|
Call this method to retrieve the time span from the CFileTimeSpan object. |
|
Call this method to set the time span of the CFileTimeSpan object. |
Public Operators
Name |
Description |
---|---|
Performs subtraction on a CFileTimeSpan object. |
|
Compares two CFileTimeSpan objects for inequality. |
|
Performs addition on a CFileTimeSpan object. |
|
Performs addition on a CFileTimeSpan object and assign the result to the current object. |
|
Compares two CFileTimeSpan objects to determine the lesser. |
|
Compares two CFileTimeSpan objects to determine equality or the lesser. |
|
The assignment operator. |
|
Performs subtraction on a CFileTimeSpan object and assign the result to the current object. |
|
Compares two CFileTimeSpan objects for equality. |
|
Compares two CFileTimeSpan objects to determine the larger. |
|
Compares two CFileTimeSpan objects to determine equality or the larger. |
Remarks
This class provides methods for managing relative periods of time often encountered when performing operations concerning when a file was created, last accessed or last modified. The methods of this class are frequently used in conjunction with CFileTime class objects.
Example
See the example for CFileTime::Millisecond.
Requirements
Header: atltime.h