Exemplo n.º 1
0
        /// <summary>
        /// Returns the first day of the week that the specified
        /// date is in using the current culture.
        /// </summary>
        public static DateTime GetFirstDayOfWeek(DateTime dayInWeek)
        {
            CultureInfo defaultCultureInfo = CultureInfo.CurrentCulture;

            return(SBUtils.GetFirstDayOfWeek(dayInWeek, defaultCultureInfo));
        }