private void Schedule_VisibleDatesChangedEvent(object sender, VisibleDatesChangedEventArgs e)
{
var app = (schedule.DataSource as ScheduleAppointmentCollection)[0];
var startDate = e.visibleDates[0].Date;
var endDate = e.visibleDates[e.visibleDates.Count - 1];
var appointments = schedule.GetRecurrenceDateTimeCollection(app.RecurrenceRule, app.StartTime, startDate, endDate);
} |
var occurences = DependencyService.Get<IRecurrenceBuilder>(DependencyFetchTarget.GlobalInstance).GetRecurrenceDateTimeCollection(appointment.RecurrenceRule, appointment.StartDate, rangeStartDate, rangeEndDate); |
var occurences = DependencyService.Get<IRecurrenceBuilder>(DependencyFetchTarget.GlobalInstance).GetRecurrenceDateTimeCollection(appointment.RecurrenceRule, appointment.StartDate); |