changed modifieer of DATEPATTERN to public