Example usage for org.joda.time LocalDate LocalDate

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

Introduction

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

Prototype

public LocalDate(Object instant) 

Source Link

Document

Constructs an instance from an Object that represents a datetime.

Usage

From source file:com.gst.portfolio.loanaccount.domain.LoanRepaymentScheduleInstallment.java

License:Apache License

public LocalDate getFromDate() {
    LocalDate fromLocalDate = null;
    if (this.fromDate != null) {
        fromLocalDate = new LocalDate(this.fromDate);
    }/*  w  w  w  .  j a v  a2s . com*/

    return fromLocalDate;
}

From source file:com.gst.portfolio.loanaccount.domain.LoanRepaymentScheduleInstallment.java

License:Apache License

public LocalDate getDueDate() {
    return new LocalDate(this.dueDate);
}

From source file:com.gst.portfolio.loanaccount.domain.LoanRepaymentScheduleInstallment.java

License:Apache License

public LocalDate getObligationsMetOnDate() {
    LocalDate obligationsMetOnDate = null;

    if (this.obligationsMetOnDate != null) {
        obligationsMetOnDate = new LocalDate(this.obligationsMetOnDate);
    }//from   w  ww.  j a v  a  2 s  .  co m

    return obligationsMetOnDate;
}

From source file:com.gst.portfolio.loanaccount.domain.LoanTermVariations.java

License:Apache License

public LoanTermVariationsData toData() {
    LocalDate termStartDate = new LocalDate(this.termApplicableFrom);
    LocalDate dateValue = null;// w w w  .ja  v  a 2s  .co m
    if (this.dateValue != null) {
        dateValue = new LocalDate(this.dateValue);
    }
    EnumOptionData type = LoanEnumerations.loanvariationType(this.termType);
    return new LoanTermVariationsData(getId(), type, termStartDate, this.decimalValue, dateValue,
            this.isSpecificToInstallment);
}

From source file:com.gst.portfolio.loanaccount.domain.LoanTermVariations.java

License:Apache License

public LocalDate fetchTermApplicaDate() {
    return new LocalDate(this.termApplicableFrom);
}

From source file:com.gst.portfolio.loanaccount.domain.LoanTermVariations.java

License:Apache License

public LocalDate fetchDateValue() {
    return this.dateValue == null ? null : new LocalDate(this.dateValue);
}

From source file:com.gst.portfolio.loanaccount.domain.LoanTransaction.java

License:Apache License

private LocalDate getCreatedDate() {
    return new LocalDate(this.createdDate);
}

From source file:com.gst.portfolio.loanaccount.rescheduleloan.domain.LoanRescheduleRequest.java

License:Apache License

/** 
 * @return due date of the rescheduling start point 
 **//*from w  w  w.  ja  va 2s.  c  o  m*/
public LocalDate getRescheduleFromDate() {

    LocalDate localDate = null;

    if (this.rescheduleFromDate != null) {
        localDate = new LocalDate(this.rescheduleFromDate);
    }

    return localDate;
}

From source file:com.gst.portfolio.loanaccount.rescheduleloan.domain.LoanRescheduleRequest.java

License:Apache License

/** 
 * @return the date the request was submitted 
 **//*www . j  a v a  2 s . c  o m*/
public LocalDate getSubmittedOnDate() {
    LocalDate localDate = null;

    if (this.submittedOnDate != null) {
        localDate = new LocalDate(this.submittedOnDate);
    }

    return localDate;
}

From source file:com.gst.portfolio.loanaccount.rescheduleloan.domain.LoanRescheduleRequest.java

License:Apache License

/** 
 * @return the date the request was approved 
 **//*from www .  j  av a2s  . c  o m*/
public LocalDate getApprovedOnDate() {
    LocalDate localDate = null;

    if (this.approvedOnDate != null) {
        localDate = new LocalDate(this.approvedOnDate);
    }

    return localDate;
}