Update DateProvider.java

Access to getDate() method has been changed to static