//Let's take todays date to explore the date interface
final Date today = Date.todaysDate();
System.out.println("Today's date is = "+today);
//Get the Month enum and the month's integer equivalent of this date
final Month month = today.month();
final int integerEquivalentOfMonth = today.month().value();
System.out.println("The month of today's date is = "+month);
System.out.println("The integer equivalent of this month as obtained from the date is = "+integerEquivalentOfMonth);
System.out.println("The integer equivalent of the date as obtained from the Month is also = "+month.value());
//Get the weekday
final Weekday weekDayOfThisDate = today.weekday();
System.out.println("The weekday of this date is = "+weekDayOfThisDate);