本文整理汇总了Java中org.kuali.rice.core.api.mo.common.active.InactivatableFromToUtils.isActive方法的典型用法代码示例。如果您正苦于以下问题:Java InactivatableFromToUtils.isActive方法的具体用法?Java InactivatableFromToUtils.isActive怎么用?Java InactivatableFromToUtils.isActive使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.kuali.rice.core.api.mo.common.active.InactivatableFromToUtils
的用法示例。
在下文中一共展示了InactivatableFromToUtils.isActive方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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包/类
public boolean isActive() {
return InactivatableFromToUtils.isActive(getActiveFromDate(), getActiveToDate(), null);
}
示例6: isActive
import org.kuali.rice.core.api.mo.common.active.InactivatableFromToUtils; //导入方法依赖的package包/类
@Override
public boolean isActive() {
return InactivatableFromToUtils.isActive(activeFromDate, activeToDate, null);
}
示例7: isActive
import org.kuali.rice.core.api.mo.common.active.InactivatableFromToUtils; //导入方法依赖的package包/类
public boolean isActive(DateTime activeAsOfDate) {
return InactivatableFromToUtils.isActive(activeFromDate, activeToDate, activeAsOfDate);
}
示例8: isActive
import org.kuali.rice.core.api.mo.common.active.InactivatableFromToUtils; //导入方法依赖的package包/类
public boolean isActive() {
return InactivatableFromToUtils.isActive(activeFromDate, activeToDate, null);
}
示例9: 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(new DateTime(activeFromDate), new DateTime(activeToDate), new DateTime(activeAsOfDate));
}