| VB Extension Tools HTML project report | |
| Project: CodeHelperCollection | Module: CTimeStamp |
| Module Type  | Class module  |
|---|---|
| File  | C:\Code\EE-projects\units\vb\standard\src\TimeStamp.cls  |
| Author  | Ralf Kunsmann  |
| Date  | 2001 04 07  |
| Purpose  |
Dealing with timestamps. Enable the user of the class to read and write either the complete timestamp (date and time) or only date or only time, while ensuring a consistent internal timestamp.  |
| Class_Initialize | |
| TimeStamp | |
| DateFormat | |
| TimeFormat | |
| DateTime | |
| DateTimeEX | |
| TheDate | |
| TheDateEx | |
| TheTime | |
| TheTimeEx | |
| Year | |
| Month | |
| Day | |
| Hour | |
| Minute | |
| Second | |
| Update | |
| LeapYear | |
| Week |
| Procedure 'Class_Initialize' | List of procedures |
| Scope/Type  | Private Sub  |
|---|---|
| Author  | Ralf Kunsmann  |
| Date  | 2001 04 07  |
| Purpose  |
Set the timestamp to the current time and set formatstrings to default values.  |
| Procedure 'TimeStamp' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code parameters  | RHS As Double  |
| Author  | Ralf Kunsmann  |
| Date  | 2001 04 07  |
| Purpose  |
Give the class user access to the double value repesenting the Time Stamp.  |
| Procedure 'DateFormat' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code parameters  | RHS As String  |
| Author  | Ralf Kunsmann  |
| Date  | 2001 04 07  |
| Purpose  | Give the class user access to the format strings.  |
| Procedure 'TimeFormat' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code parameters  | RHS As String  |
| Procedure 'DateTime' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code parameters  | RHS As Date  |
| Author  | Ralf Kunsmann  |
| Date  | 2001 04 07  |
| Purpose  | Give the class user access to the time stamp.  |
| Procedure 'DateTimeEX' | List of procedures |
| Scope/Type  | Public Property (Get)  |
|---|---|
| Code return value  | String  |
| Procedure 'TheDate' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code parameters  | RHS As Date  |
| Procedure 'TheDateEx' | List of procedures |
| Scope/Type  | Public Property (Get)  |
|---|---|
| Code return value  | String  |
| Procedure 'TheTime' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code parameters  | RHS As Date  |
| Procedure 'TheTimeEx' | List of procedures |
| Scope/Type  | Public Property (Get)  |
|---|---|
| Code return value  | String  |
| Procedure 'Year' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code parameters  | RHS As Long  |
| Procedure 'Month' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code parameters  | RHS As Long  |
| Procedure 'Day' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code parameters  | RHS As Long  |
| Procedure 'Hour' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code parameters  | RHS As Long  |
| Procedure 'Minute' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code parameters  | RHS As Long  |
| Procedure 'Second' | List of procedures |
| Scope/Type  | Public Property (Let/Get)  |
|---|---|
| Code parameters  | RHS As Long  |
| Procedure 'Update' | List of procedures |
| Scope/Type  | Public Sub  |
|---|---|
| Author  | Sebastian Woelki  |
| Date  | 2001 07 13  |
| Purpose  | sets the timestamp of this class to the current date and time  |
| Procedure 'LeapYear' | List of procedures |
| Scope/Type  | Public Property (Get)  |
|---|---|
| Code return value  | Boolean  |
| Procedure 'Week' | List of procedures |
| Scope/Type  | Public Property (Get)  |
|---|---|
| Code parameters  |
Optional FirstDayOfWeek As VbDayOfWeek = vbMonday Optional FirstDayOfYear As VbFirstWeekOfYear = vbFirstFourDays  |
| Code return value  | Integer  |