Created
August 25, 2014 15:42
-
-
Save DanielWJudge/a61062be34c63193cb0d to your computer and use it in GitHub Desktop.
TimePeriodRange
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (isTypeA) | |
foreach (var dateTime in typeADates) | |
typeAPeriods.Add(new TimeRange(dateTime.Start, dateTime.End)); | |
if (isTypeB) | |
foreach (var dateTime in typeBDates) | |
typeBPeriods.Add(new TimeRange(dateTime.Start, dateTime.End)); | |
if (isTypeC) | |
foreach (var dateTime in typeCDates) | |
typeCPeriods.Add(new TimeRange(dateTime.Start, dateTime.End)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment