Property | Type | Description | |
---|---|---|---|
DAY_ITERATION | System.TimeSpan | ||
HOUR_ITERATION | System.TimeSpan | ||
MINIMUM_ITERATION | System.TimeSpan | ||
MINUTE_ITERATION | System.TimeSpan | ||
SECOND_ITERATION | System.TimeSpan |
Property | Type | Description | |
---|---|---|---|
AdvanceIterStartDate | void | ||
IsDone | bool | ||
IterationDays | int | ||
IterationHours | int | ||
IterationMinutes | int | ||
IterationSeconds | int | ||
IterationTimeSpanFromString | System.TimeSpan | ||
SetIterEndDate | void | ||
SetIteratorLengthFromDateStrings | void | ||
SetPrecision | void |
Method | Description | |
---|---|---|
GetDdrListerPart ( ) : string | ||
IsMinimumIteration ( ) : bool |
Checks to see if the iteration start and end dates are equal or smaller to the shortest possible time span that this instance of the DateIterator will process.
|
|
VistaDateTimeIterator ( System.DateTime startDate, System.DateTime endDate, System.TimeSpan iterationLength ) : System | ||
VistaDateTimeIterator ( string startString, string endString ) : System | ||
VistaDateTimeIterator ( string startString, string endString, System.TimeSpan iterationLength ) : System | ||
VistaDateTimeIterator ( string startString, string endString, int timespanDays ) : System | ||
VistaDateTimeIterator ( string startString, string endString, string iterationLength ) : System |
This is better called by converting the iteration length into a TimeSpan first using the static IterationTimeSpanFromString() first.
|
Method | Description | |
---|---|---|
AdvanceIterStartDate ( ) : void | ||
IsDone ( ) : bool | ||
IterationDays ( string iterationLength ) : int |
find the separator and get the value to the left of it.
|
|
IterationHours ( string iterationLength ) : int | ||
IterationMinutes ( string iterationLength ) : int | ||
IterationSeconds ( string iterationLength ) : int | ||
IterationTimeSpanFromString ( string iterationLength ) : System.TimeSpan |
Makes the iteration timespan from a string.
|
|
SetIterEndDate ( ) : void |
either the endDate, or the iteration start date + iteration length
|
|
SetIteratorLengthFromDateStrings ( string startDate, string endDate ) : void |
Looks at both the start and end dates to get the precision. need to look at string length - 0 won't do the trick. Just need to hope that the date strings aren't normalized at some point. |
|
SetPrecision ( ) : void |
Set the precision of the DdrPart based on the precision of the iteration length.
|
public VistaDateTimeIterator ( System.DateTime startDate, System.DateTime endDate, System.TimeSpan iterationLength ) : System | ||
startDate | System.DateTime | |
endDate | System.DateTime | |
iterationLength | System.TimeSpan | |
return | System |
public VistaDateTimeIterator ( string startString, string endString ) : System | ||
startString | string | |
endString | string | |
return | System |
public VistaDateTimeIterator ( string startString, string endString, System.TimeSpan iterationLength ) : System | ||
startString | string | |
endString | string | |
iterationLength | System.TimeSpan | |
return | System |
public VistaDateTimeIterator ( string startString, string endString, int timespanDays ) : System | ||
startString | string | |
endString | string | |
timespanDays | int | |
return | System |
public VistaDateTimeIterator ( string startString, string endString, string iterationLength ) : System | ||
startString | string | |
endString | string | |
iterationLength | string | |
return | System |
public static TimeSpan,System DAY_ITERATION | ||
return | System.TimeSpan |
public static TimeSpan,System HOUR_ITERATION | ||
return | System.TimeSpan |
public TimeSpan,System MINIMUM_ITERATION | ||
return | System.TimeSpan |
public static TimeSpan,System MINUTE_ITERATION | ||
return | System.TimeSpan |