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.client.domain.Client.java

License:Apache License

public LocalDate getRejectedDate() {
    return (LocalDate) ObjectUtils.defaultIfNull(new LocalDate(this.rejectionDate), null);
}

From source file:com.gst.portfolio.client.domain.Client.java

License:Apache License

public LocalDate getWithdrawalDate() {
    return (LocalDate) ObjectUtils.defaultIfNull(new LocalDate(this.withdrawalDate), null);
}

From source file:com.gst.portfolio.client.domain.Client.java

License:Apache License

public LocalDate getReopenedDate() {
    return this.reopenedDate == null ? null : new LocalDate(this.reopenedDate);
}

From source file:com.gst.portfolio.client.domain.ClientCharge.java

License:Apache License

public LocalDate getDueLocalDate() {
    LocalDate dueDate = null;/*from w w  w  . jav a 2  s .  c o m*/
    if (this.dueDate != null) {
        dueDate = new LocalDate(this.dueDate);
    }
    return dueDate;
}

From source file:com.gst.portfolio.client.domain.ClientTransaction.java

License:Apache License

public LocalDate getTransactionDate() {
    return new LocalDate(this.dateOf);
}

From source file:com.gst.portfolio.floatingrates.data.FloatingRateDTO.java

License:Apache License

public BigDecimal fetchBaseRate(LocalDate date) {
    BigDecimal rate = null;//from  www  . j  a v a 2  s . c om
    for (FloatingRatePeriodData periodData : this.baseLendingRatePeriods) {
        final LocalDate periodFromDate = new LocalDate(periodData.getFromDate());
        if (periodFromDate.isBefore(date) || periodFromDate.isEqual(date)) {
            rate = periodData.getInterestRate();
            break;
        }
    }
    return rate;
}

From source file:com.gst.portfolio.floatingrates.data.FloatingRatePeriodData.java

License:Apache License

public LocalDate getFromDateAsLocalDate() {
    return new LocalDate(this.fromDate);
}

From source file:com.gst.portfolio.floatingrates.domain.FloatingRatePeriod.java

License:Apache License

public LocalDate fetchFromDate() {
    return new LocalDate(this.fromDate);
}

From source file:com.gst.portfolio.group.domain.Group.java

License:Apache License

public LocalDate getActivationLocalDate() {
    LocalDate activationLocalDate = null;
    if (this.activationDate != null) {
        activationLocalDate = new LocalDate(this.activationDate);
    }/*from w  w w. ja v  a  2  s .co  m*/
    return activationLocalDate;
}

From source file:com.gst.portfolio.group.domain.StaffAssignmentHistory.java

License:Apache License

public LocalDate getStartDate() {
    return new LocalDate(this.startDate);
}