Example usage for org.joda.time LocalDate toDateTimeAtMidnight

List of usage examples for org.joda.time LocalDate toDateTimeAtMidnight

Introduction

In this page you can find the example usage for org.joda.time LocalDate toDateTimeAtMidnight.

Prototype

@Deprecated
public DateTime toDateTimeAtMidnight() 

Source Link

Document

Converts this LocalDate to a full datetime at midnight using the default time zone.

Usage

From source file:net.sourceforge.fenixedu.presentationTier.docs.phd.notification.PhdNotificationDocument.java

License:Open Source License

private String getRegistrationFee(final PhdIndividualProgramProcess individualProgramProcess,
        final LocalDate whenRatified) {
    return whenRatified != null
            ? ((FixedAmountPR) individualProgramProcess.getPhdProgram().getServiceAgreementTemplate()
                    .findPostingRuleByEventTypeAndDate(EventType.PHD_REGISTRATION_FEE,
                            whenRatified.toDateTimeAtMidnight())).getFixedAmount().toPlainString()
            : "";
}