public static ConstructorValueNowProvider NewFromOffset(TimeSpan offset)
        {
            var offsetNow = DateTime.Now + offset;

            var constantValueNowProvider = ConstructorValueNowProvider.NewFromNowLocal(offsetNow);

            return(constantValueNowProvider);
        }
        public static ConstructorValueNowProvider NewFromNowUtc(DateTime nowUtc)
        {
            var nowLocal = nowUtc.ToLocalTime();

            var constantValueNowProvider = new ConstructorValueNowProvider(nowLocal);

            return(constantValueNowProvider);
        }
        /// <summary>
        /// Uses the <see cref="ConstructorValueNowProvider.NewFromNowLocal(DateTime)"/> as the default.
        /// </summary>
        public static ConstructorValueNowProvider New(DateTime now)
        {
            var constantValueNowProvider = ConstructorValueNowProvider.NewFromNowLocal(now);

            return(constantValueNowProvider);
        }
        public static ConstructorValueNowProvider NewFromNowLocal(DateTime nowLocal)
        {
            var constantValueNowProvider = new ConstructorValueNowProvider(nowLocal);

            return(constantValueNowProvider);
        }