Example usage for org.joda.time DateMidnight toString

List of usage examples for org.joda.time DateMidnight toString

Introduction

In this page you can find the example usage for org.joda.time DateMidnight toString.

Prototype

@ToString
public String toString() 

Source Link

Document

Output the date time in ISO8601 format (yyyy-MM-ddTHH:mm:ss.SSSZZ).

Usage

From source file:net.naonedbus.fragment.impl.HorairesFragment.java

License:Open Source License

private void loadHoraires(final DateMidnight date) {
    if (mIsLoading.get() == false) {
        if (DBG)/*from   ww  w  .ja v a2s .  co m*/
            Log.d(LOG_TAG, "loadHoraires " + date.toString() + "\t" + mIsLoading.get());

        mDayToLoad = date;
        refreshContent();
    }
}

From source file:org.jasig.portlet.campuslife.dining.dao.MockDiningDaoImpl.java

License:Apache License

@Override
public List<DiningHall> getDiningHalls(DateMidnight date, PortletRequest request) {
    final List<MenuDay> days = this.getData().getDays();
    if (days.size() > 0) {
        return days.get(0).getDiningHalls();
    }/*from  w ww  .java 2s . c  om*/

    log.info("Unable to locate day " + date.toString());
    return null;
}