This commit is contained in:
jfrijters 2005-03-21 08:03:15 +00:00
Родитель 7c9a65211b
Коммит 54617c6579
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1,5 +1,5 @@
/*
Copyright (C) 2004 Jeroen Frijters
Copyright (C) 2004, 2005 Jeroen Frijters
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
@ -80,7 +80,7 @@ final class VMTimeZone extends TimeZone
public boolean inDaylightTime(Date date)
{
return tz.IsDaylightSavingTime(new cli.System.DateTime(date.getYear(), date.getMonth() + 1, date.getDay()));
return tz.IsDaylightSavingTime(new cli.System.DateTime(date.getYear() + 1900, date.getMonth() + 1, date.getDate()));
}
public boolean hasSameRules(TimeZone other)