code: public static boolean isAm(Date date) {
  
          String time = getTime(date);
          return time.toLowerCase().contains(AM);
      }
docs: Returns <code>true</code> if an am is in the given date object <code>false</code> otherwise.<p>
  
  @param date the date to check
  
  @return <code>true</code> if an am is in the given Date object <code>false</code> otherwise