Ejemplo n.º 1
0
        public static void GetString(int days, int hours, int minutes, int seconds, int millis, string expected)
        {
            var dts = new SqlDayToSecond(days, hours, minutes, seconds, millis);

            var s = dts.ToString();

            Assert.Equal(expected, s);
        }
        private ISqlValue ToString(SqlDayToSecond dts, SqlCharacterType destType)
        {
            var s = new SqlString(dts.ToString());

            return(destType.NormalizeValue(s));
        }