Exemplo n.º 1
0
        int RunTest(
            )
        {
            var timeZoneInformation = new RegistryTimeZoneInformation();



            App.StompStackBelowCallerSP();



            App.GenerateHalfInitializedArgSlots(timeZoneInformation);



            if (App.s_fArgumentCheckPassed)
            {
                Console.WriteLine("Passed.");
                return(100);
            }
            else
            {
                Console.WriteLine("Failed.");
                return(101);
            }
        }
Exemplo n.º 2
0
        void PrepareMethods(
            )
        {
            var timeZoneInformation = new RegistryTimeZoneInformation();

            App.s_fPreparingMethods = true;
            {
                App.GenerateHalfInitializedArgSlots(timeZoneInformation);
            }
            App.s_fPreparingMethods = false;

            return;
        }
Exemplo n.º 3
0
        void GenerateHalfInitializedArgSlots(
            RegistryTimeZoneInformation timeZoneInformation
            )
        {
            if (timeZoneInformation.DaylightDate.Year == 0)
            {
                App.CheckArguments(
                    1,
                    1,
                    1,
                    1,
                    timeZoneInformation.DaylightDate.Hour,
                    timeZoneInformation.DaylightDate.Minute,
                    timeZoneInformation.DaylightDate.Second,
                    timeZoneInformation.DaylightDate.Milliseconds
                    );
            }

            return;
        }
Exemplo n.º 4
0
        int RunTest(
            )
        {
            var timeZoneInformation = new RegistryTimeZoneInformation();



            App.StompStackBelowCallerSP();




            App.GenerateHalfInitializedArgSlots(timeZoneInformation);



            if (App.s_fArgumentCheckPassed)
            {
                Console.WriteLine("Passed.");
                return 100;
            }
            else
            {
                Console.WriteLine("Failed.");
                return 101;
            }
        }
Exemplo n.º 5
0
        void PrepareMethods(
            )
        {
            var timeZoneInformation = new RegistryTimeZoneInformation();

            App.s_fPreparingMethods = true;
            {
                App.GenerateHalfInitializedArgSlots(timeZoneInformation);
            }
            App.s_fPreparingMethods = false;

            return;
        }
Exemplo n.º 6
0
        void GenerateHalfInitializedArgSlots(
            RegistryTimeZoneInformation timeZoneInformation
            )
        {
            if (timeZoneInformation.DaylightDate.Year == 0)
            {
                App.CheckArguments(
                    1,
                    1,
                    1,
                    1,
                    timeZoneInformation.DaylightDate.Hour,
                    timeZoneInformation.DaylightDate.Minute,
                    timeZoneInformation.DaylightDate.Second,
                    timeZoneInformation.DaylightDate.Milliseconds
                );
            }

            return;
        }