System.Tests.DateTimeOffsetTests.Format_String_TestData_O C# (CSharp) Method

Format_String_TestData_O() public static method

public static Format_String_TestData_O ( ) : IEnumerable
return IEnumerable
        public static IEnumerable<object[]> Format_String_TestData_O()
        {
            yield return new object[] { DateTimeOffset.MaxValue, "9999-12-31T23:59:59.9999999+00:00" };
            yield return new object[] { DateTimeOffset.MinValue, "0001-01-01T00:00:00.0000000+00:00" };
            yield return new object[] { new DateTimeOffset(1906, 8, 15, 7, 24, 5, 300, new TimeSpan(0, 0, 0)), "1906-08-15T07:24:05.3000000+00:00" };
            yield return new object[] { new DateTimeOffset(1906, 8, 15, 7, 24, 5, 300, new TimeSpan(7, 30, 0)), "1906-08-15T07:24:05.3000000+07:30" };
        }
DateTimeOffsetTests