Ejemplo n.º 1
0
 public unsafe TIME_ZONE_INFORMATION(TIME_DYNAMIC_ZONE_INFORMATION dtzi)
 {
     Bias = dtzi.Bias;
     fixed (char* standard = StandardName)
     {
         for (int i = 0; i < 32; ++i)
         {
             standard[i] = dtzi.StandardName[i];
         }
     }
     fixed (char* daylight = DaylightName)
     {
         for (int i = 0; i < 32; ++i)
         {
             daylight[i] = dtzi.DaylightName[i];
         }
     }
     StandardDate = dtzi.StandardDate;
     StandardBias = dtzi.StandardBias;
     DaylightDate = dtzi.DaylightDate;
     DaylightBias = dtzi.DaylightBias;
 }
Ejemplo n.º 2
0
            public unsafe TIME_ZONE_INFORMATION(TIME_DYNAMIC_ZONE_INFORMATION dtzi)
            {
                Bias = dtzi.Bias;
                fixed(char *standard = StandardName)
                {
                    for (int i = 0; i < 32; ++i)
                    {
                        standard[i] = dtzi.StandardName[i];
                    }
                }

                fixed(char *daylight = DaylightName)
                {
                    for (int i = 0; i < 32; ++i)
                    {
                        daylight[i] = dtzi.DaylightName[i];
                    }
                }

                StandardDate = dtzi.StandardDate;
                StandardBias = dtzi.StandardBias;
                DaylightDate = dtzi.DaylightDate;
                DaylightBias = dtzi.DaylightBias;
            }
Ejemplo n.º 3
0
 internal static extern uint GetDynamicTimeZoneInformation(out TIME_DYNAMIC_ZONE_INFORMATION pTimeZoneInformation);
Ejemplo n.º 4
0
 internal extern static bool GetTimeZoneInformationForYear(ushort wYear, ref TIME_DYNAMIC_ZONE_INFORMATION pdtzi, out TIME_ZONE_INFORMATION ptzi);
Ejemplo n.º 5
0
 internal extern static uint GetDynamicTimeZoneInformationEffectiveYears(ref TIME_DYNAMIC_ZONE_INFORMATION lpTimeZoneInformation, out uint FirstYear, out uint LastYear);
Ejemplo n.º 6
0
 internal extern static uint GetDynamicTimeZoneInformation(out TIME_DYNAMIC_ZONE_INFORMATION pTimeZoneInformation);
Ejemplo n.º 7
0
 internal extern static uint EnumDynamicTimeZoneInformation(uint dwIndex, out TIME_DYNAMIC_ZONE_INFORMATION lpTimeZoneInformation);
Ejemplo n.º 8
0
 internal extern static bool GetTimeZoneInformationForYear(ushort wYear, ref TIME_DYNAMIC_ZONE_INFORMATION pdtzi, out TIME_ZONE_INFORMATION ptzi);
Ejemplo n.º 9
0
 internal extern static uint GetDynamicTimeZoneInformationEffectiveYears(ref TIME_DYNAMIC_ZONE_INFORMATION lpTimeZoneInformation, out uint FirstYear, out uint LastYear);
Ejemplo n.º 10
0
 internal extern static uint EnumDynamicTimeZoneInformation(uint dwIndex, out TIME_DYNAMIC_ZONE_INFORMATION lpTimeZoneInformation);