This function returns True if the specified week ranges are equal by days.
object.CompareWeekRangesByDays(aWeekRange1,
aWeekRange2)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISDateTimeUtils interface |
|
aWeekRange1 |
In, Required | Single |
The specified count of weeks and days |
aWeekRange2 |
In, Required | Single |
The specified count of weeks and days |
bool
Display the result of comparison of the specified week ranges.
Dim aDateTimeUtils
Dim aWeekRange1
Dim aWeekRange2
Dim aMessage
Set aDateTimeUtils = Profile.DateTimeUtils
aWeekRange1 = aDateTimeUtils.ConvertStringWDDateRangToWeeks("4w 3d")
aWeekRange2 = aDateTimeUtils.ConvertStringWDDateRangToWeeks("3w 4d")
aMessage = aDateTimeUtils.CompareWeekRangesByDays(aWeekRange1, aWeekRange2)
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface week ranges cannot be compared.