FilterType Enumeration
- Last UpdatedNov 06, 2025
- 2 minute read
'Declaration
Public Enum FilterType
Inherits System.Enum
'Usage
Dim instance As FilterType
public enum FilterType : System.Enum
| Member | Description |
|---|---|
| CurrentDay | From the beginning (midnight) of the current day to now. The numerical value for this enumeration is 4. |
| CurrentMonth | From the beginning (midnight of the 1st) of this month to now. The numerical value for this enumeration is 8. |
| CurrentShift | From the beginning of the current shift to now. The numerical value for this enumeration is 2. |
| CurrentWeek | From the beginning (midnight Sunday) of this week to now. The numerical value for this enumeration is 6. |
| Custom | The user will pick a time unit, a start time, and an end time. The numerical value for this enumeration is 10. |
| LastMonth | From the beginning (midnight of the 1st) of current month – 1 to the end (11:59:59 of the last day) of current month – 1. The numerical value for this enumeration is 9. |
| LastNHours | The last N * 60 minutes from now. This requires N to be defined. The numerical value for this enumeration is 1. |
| LastShift | From the beginning of the shift that ran immediately prior to the current shift to the end of that shift. The numerical value for this enumeration is 3. |
| LastWeek | From the beginning (midnight Sunday) of the current week – 1 to the end (11:59:59 PM Saturday) of the current week – 1. The numerical value for this enumeration is 7. |
| ThisHour | The last 60 minutes from now. The numerical value for this enumeration is 0. |
| Yesterday | From the beginning (midnight) of the current day -1 to the end (11:59:59 PM) of the current day – 1. The numerical value for this enumeration is 5. |
System.Object
System.ValueType
System.Enum
FactMES.API.Util.FilterType