public static int CalcSteps(TimePeriod intersectDataPeriod, TimeUnit timeUnit) { return(CalcSteps(intersectDataPeriod.from, intersectDataPeriod.to, timeUnit, intersectDataPeriod.zone)); }
public DateTime[] getRange(TimePeriod period) { return(Array.FindAll <DateTime>(mFilenameLookup.Keys.ToArray <DateTime>(), element => element >= period.from && element <= period.to)); }