public class Calendar extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Modifier | Constructor and Description |
|---|---|
protected |
Calendar(long cPtr,
boolean cMemoryOwn) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHoliday(Date arg0) |
Date |
adjust(Date d) |
Date |
adjust(Date d,
BusinessDayConvention convention) |
Date |
advance(Date d,
int n,
TimeUnit unit) |
Date |
advance(Date d,
int n,
TimeUnit unit,
BusinessDayConvention convention) |
Date |
advance(Date d,
int n,
TimeUnit unit,
BusinessDayConvention convention,
boolean endOfMonth) |
Date |
advance(Date d,
Period period) |
Date |
advance(Date d,
Period period,
BusinessDayConvention convention) |
Date |
advance(Date d,
Period period,
BusinessDayConvention convention,
boolean endOfMonth) |
int |
businessDaysBetween(Date from,
Date to) |
int |
businessDaysBetween(Date from,
Date to,
boolean includeFirst) |
int |
businessDaysBetween(Date from,
Date to,
boolean includeFirst,
boolean includeLast) |
void |
delete() |
Date |
endOfMonth(Date arg0) |
boolean |
equals(Calendar other) |
protected void |
finalize() |
protected static long |
getCPtr(Calendar obj) |
boolean |
isBusinessDay(Date arg0) |
boolean |
isEndOfMonth(Date arg0) |
boolean |
isHoliday(Date arg0) |
boolean |
isWeekend(Weekday w) |
String |
name() |
void |
removeHoliday(Date arg0) |
String |
toString() |
boolean |
unEquals(Calendar other) |
protected static long getCPtr(Calendar obj)
public void delete()
public boolean isWeekend(Weekday w)
public boolean isBusinessDay(Date arg0)
public boolean isHoliday(Date arg0)
public boolean isEndOfMonth(Date arg0)
public void addHoliday(Date arg0)
public void removeHoliday(Date arg0)
public Date adjust(Date d, BusinessDayConvention convention)
public Date advance(Date d, int n, TimeUnit unit, BusinessDayConvention convention, boolean endOfMonth)
public Date advance(Date d, int n, TimeUnit unit, BusinessDayConvention convention)
public Date advance(Date d, Period period, BusinessDayConvention convention, boolean endOfMonth)
public Date advance(Date d, Period period, BusinessDayConvention convention)
public int businessDaysBetween(Date from, Date to, boolean includeFirst, boolean includeLast)
public String name()
public boolean equals(Calendar other)
public boolean unEquals(Calendar other)
Copyright © 2017. All rights reserved.