internal void SortHoverIndexes(out int startIndex, out int endIndex)
{
// not comparing indexes since the two days may not be on the same
// month
// REMOVE_RTM: this assumes that the two indexes are on the same month
// should be updated if MultiCalendar support is added
if (DateTimeHelper.CompareDays(HoverEnd.Value, HoverStart.Value) > 0)
{
startIndex = HoverStartIndex.Value;
endIndex = HoverEndIndex.Value;
}
else
{
startIndex = HoverEndIndex.Value;
endIndex = HoverStartIndex.Value;
}
}
#endregion Selection