Пример #1
0
 /// <summary>
 /// Set possible period values.
 /// </summary>
 /// <param name='periods'>Possible period values.</param>
 public static void InitialisePeriods(PeriodList periods)
 {
     LoadPeriods(periods);
 }
Пример #2
0
 /// <summary>
 /// Refresh cached data.
 /// </summary>
 private static void RefreshCache()
 {
     CurrentPublicPeriod = null;
     Periods             = null;
     PublicPeriods       = null;
 }
Пример #3
0
        /// <summary>
        /// Get all public periods.
        /// This method selects all public periods of the default period type correponding to Swedish Redlist.
        /// </summary>
        /// <returns>All public periods.</returns>
        public static PeriodList GetPublicPeriods()
        {
            PeriodList publicPeriods = GetPublicPeriods(DEFAULT_PERIOD_TYPE);

            return(publicPeriods);
        }