예제 #1
0
 /// <summary>
 ///     Returns all occurrences of this component that start within the date range provided.
 ///     All components occurring between <paramref name="startTime" /> and <paramref name="endTime" />
 ///     will be returned.
 /// </summary>
 /// <param name="startTime">The starting date range</param>
 /// <param name="endTime">The ending date range</param>
 /// <returns></returns>
 public IList <Occurrence> GetOccurrences(IDateTime startTime, IDateTime endTime)
 {
     return(RecurrenceUtil.GetOccurrences(this, startTime, endTime, true));
 }
예제 #2
0
 /// <summary>
 ///     Gets the occurrences.
 /// </summary>
 /// <param name="startTime">The start time.</param>
 /// <param name="endTime">The end time.</param>
 /// <returns></returns>
 public IList <Occurrence> GetOccurrences(DateTime startTime, DateTime endTime)
 {
     return(RecurrenceUtil.GetOccurrences(this, new iCalDateTime(startTime), new iCalDateTime(endTime), true));
 }
예제 #3
0
 /// <summary>
 ///     Gets the occurrences.
 /// </summary>
 /// <param name="dt">The date time.</param>
 /// <returns></returns>
 public IList <Occurrence> GetOccurrences(DateTime dt)
 {
     return(RecurrenceUtil.GetOccurrences(this, new iCalDateTime(dt), true));
 }
예제 #4
0
 /// <summary>
 ///     Returns all occurrences of this component that start on the date provided.
 ///     All components starting between 12:00:00AM and 11:59:59 PM will be
 ///     returned.
 ///     <note>
 ///         This will first Evaluate() the date range required in order to
 ///         determine the occurrences for the date provided, and then return
 ///         the occurrences.
 ///     </note>
 /// </summary>
 /// <param name="dt">The date for which to return occurrences.</param>
 /// <returns>
 ///     A list of Periods representing the occurrences of this object.
 /// </returns>
 public IList <Occurrence> GetOccurrences(IDateTime dt)
 {
     return(RecurrenceUtil.GetOccurrences(this, dt, true));
 }
예제 #5
0
 /// <summary>
 ///     Gets the occurrences.
 /// </summary>
 /// <param name="startTime">The start time.</param>
 /// <param name="endTime">The end time.</param>
 /// <returns></returns>
 public virtual IList <Occurrence> GetOccurrences(DateTime startTime, DateTime endTime)
 {
     return(RecurrenceUtil.GetOccurrences(this, new iCalDateTime(startTime), new iCalDateTime(endTime), EvaluationIncludesReferenceDate));
 }
예제 #6
0
 /// <summary>
 ///     Returns all occurrences of this component that start within the date range provided.
 ///     All components occurring between <paramref name="startTime" /> and <paramref name="endTime" />
 ///     will be returned.
 /// </summary>
 /// <param name="startTime">The starting date range</param>
 /// <param name="endTime">The ending date range</param>
 /// <returns></returns>
 public virtual IList <Occurrence> GetOccurrences(IDateTime startTime, IDateTime endTime)
 {
     return(RecurrenceUtil.GetOccurrences(this, startTime, endTime, EvaluationIncludesReferenceDate));
 }
예제 #7
0
 /// <summary>
 ///     Gets the occurrences.
 /// </summary>
 /// <param name="dt">The date time.</param>
 /// <returns></returns>
 public virtual IList <Occurrence> GetOccurrences(DateTime dt)
 {
     return(RecurrenceUtil.GetOccurrences(this, new iCalDateTime(dt), EvaluationIncludesReferenceDate));
 }