static DatePrototype(){
DateTime jan1ThisYear = new DateTime(DateTime.Now.Year, 1, 1);
double jantimeoffset = (jan1ThisYear.Ticks - jan1ThisYear.ToUniversalTime().Ticks) / ticksPerMillisecond;
DateTime july1ThisYear = new DateTime(DateTime.Now.Year, 7, 1);
double julytimeoffset = (july1ThisYear.Ticks - july1ThisYear.ToUniversalTime().Ticks) / ticksPerMillisecond;
if (jantimeoffset < julytimeoffset){
localStandardTZA = jantimeoffset;
localDaylightTZA = julytimeoffset;
} else{
localStandardTZA = julytimeoffset;
localDaylightTZA = jantimeoffset;
}
useDST = localStandardTZA != localDaylightTZA;
}