本文整理汇总了Java中org.kuali.rice.core.api.mo.common.active.InactivatableFromToUtils类的典型用法代码示例。如果您正苦于以下问题:Java InactivatableFromToUtils类的具体用法?Java InactivatableFromToUtils怎么用?Java InactivatableFromToUtils使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
InactivatableFromToUtils类属于org.kuali.rice.core.api.mo.common.active包,在下文中一共展示了InactivatableFromToUtils类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: isActive
import org.kuali.rice.core.api.mo.common.active.InactivatableFromToUtils; //导入依赖的package包/类
/**
* Returns active if the {@link #getActiveAsOfDate()} (current time used if not set) is between
* the from and to dates. Null dates are considered to indicate an open range.
*/
public boolean isActive() {
return InactivatableFromToUtils.isActive(activeFromDate == null ? null : new DateTime(activeFromDate),
activeToDate == null ? null : new DateTime(activeToDate),
new DateTime(activeAsOfDate));
}
示例2: isActive
import org.kuali.rice.core.api.mo.common.active.InactivatableFromToUtils; //导入依赖的package包/类
@Override
public boolean isActive(DateTime activeAsOfDate) {
return InactivatableFromToUtils.isActive(activeFromDate, activeToDate, activeAsOfDate);
}
示例3: isActive
import org.kuali.rice.core.api.mo.common.active.InactivatableFromToUtils; //导入依赖的package包/类
@Override
public boolean isActive(DateTime activeAsOf) {
return InactivatableFromToUtils.isActive(activeFromDate, activeToDate, activeAsOf);
}
示例4: isActive
import org.kuali.rice.core.api.mo.common.active.InactivatableFromToUtils; //导入依赖的package包/类
public boolean isActive(Timestamp activeAsOfDate) {
return InactivatableFromToUtils.isActive(getActiveFromDate(), getActiveToDate(), new DateTime(activeAsOfDate.getTime()));
}
示例5: isActive
import org.kuali.rice.core.api.mo.common.active.InactivatableFromToUtils; //导入依赖的package包/类
@Override
public boolean isActive(DateTime activeAsOfDate) {
return InactivatableFromToUtils.isActive(activeFromDate, activeToDate, null);
}
示例6: isActive
import org.kuali.rice.core.api.mo.common.active.InactivatableFromToUtils; //导入依赖的package包/类
public boolean isActive(DateTime activeAsOfDate) {
return InactivatableFromToUtils.isActive(activeFromDate, activeToDate, activeAsOfDate);
}