Example usage for org.joda.time MonthDay isEqual

List of usage examples for org.joda.time MonthDay isEqual

Introduction

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

Prototype

public boolean isEqual(ReadablePartial partial) 

Source Link

Document

Is this partial the same as the specified partial.

Usage

From source file:org.apereo.portal.events.aggr.dao.jpa.QuarterDetailImpl.java

License:Apache License

public QuarterDetailImpl(MonthDay start, MonthDay end, int quarterId) {
    Validate.notNull(start);// w ww  .  j av a  2  s.  c  o m
    Validate.notNull(end);
    if (start.isEqual(end)) {
        throw new IllegalArgumentException("start cannot equal end");
    }
    this.id = -1;
    this.start = start;
    this.end = end;
    this.quarterId = quarterId;
}