Esempio n. 1
0
        public static string GetSubscriptionYear(this QParaOptions options, DateTimeOffset date)
        {
            var fd = options.GetFirstDayOfYear(date);

            return(options.GetSubscriptionYear(fd.Year));
        }
Esempio n. 2
0
        public static string GetCurrentSubscriptionYear(this QParaOptions options)
        {
            var year = options.GetFirstDayOfYear(DateTimeOffset.Now).Year;

            return(options.GetSubscriptionYear(year));
        }