Esempio 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);
            }
        }
Esempio n. 2
0
        void PrepareMethods(
            )
        {
            var timeZoneInformation = new RegistryTimeZoneInformation();

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

            return;
        }
Esempio 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;
        }
Esempio 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;
            }
        }
Esempio n. 5
0
        void PrepareMethods(
            )
        {
            var timeZoneInformation = new RegistryTimeZoneInformation();

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

            return;
        }
Esempio 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;
        }