Example usage for java.util Calendar JANUARY

List of usage examples for java.util Calendar JANUARY

Introduction

In this page you can find the example usage for java.util Calendar JANUARY.

Prototype

int JANUARY

To view the source code for java.util Calendar JANUARY.

Click Source Link

Document

Value of the #MONTH field indicating the first month of the year in the Gregorian and Julian calendars.

Usage

From source file:org.mifos.accounts.loan.business.LoanBOIntegrationTest.java

public void testDisbursementDateValidForRedoIfDisbursementAfterActivationAndProductStartDate()
        throws Exception {
    Assert.assertTrue(LoanBO.isDibursementDateValidForRedoLoan(new LoanOfferingBO() {
        @Override//w  ww.  ja v  a2s.  com
        public Date getStartDate() {
            return DateUtils.getDate(2008, Calendar.JANUARY, 1);
        }
    }, new ClientBO() {
        @Override
        public Date getCustomerActivationDate() {
            return DateUtils.getDate(2008, Calendar.JANUARY, 1);
        }
    }, DateUtils.getDate(2008, Calendar.JANUARY, 1)));
}