Fixed time hour offset when creating a class