当前位置: 首页>>代码示例>>Java>>正文


Java InactivatableFromToUtils.isActive方法代码示例

本文整理汇总了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));
}
 
开发者ID:kuali,项目名称:kc-rice,代码行数:10,代码来源:InactivatableFromToImpl.java

示例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);
}
 
开发者ID:kuali,项目名称:kc-rice,代码行数:5,代码来源:RoleMember.java

示例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);
}
 
开发者ID:kuali,项目名称:kc-rice,代码行数:5,代码来源:GroupMember.java

示例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()));
}
 
开发者ID:kuali,项目名称:kc-rice,代码行数:4,代码来源:ActiveFromToBo.java

示例5: isActive

import org.kuali.rice.core.api.mo.common.active.InactivatableFromToUtils; //导入方法依赖的package包/类
public boolean isActive() {
    return InactivatableFromToUtils.isActive(getActiveFromDate(), getActiveToDate(), null);
}
 
开发者ID:kuali,项目名称:rice,代码行数:4,代码来源:ActiveFromToBo.java

示例6: isActive

import org.kuali.rice.core.api.mo.common.active.InactivatableFromToUtils; //导入方法依赖的package包/类
@Override
public boolean isActive() {
    return InactivatableFromToUtils.isActive(activeFromDate, activeToDate, null);
}
 
开发者ID:kuali,项目名称:rice,代码行数:5,代码来源:GroupMember.java

示例7: isActive

import org.kuali.rice.core.api.mo.common.active.InactivatableFromToUtils; //导入方法依赖的package包/类
public boolean isActive(DateTime activeAsOfDate) {
    return InactivatableFromToUtils.isActive(activeFromDate, activeToDate, activeAsOfDate);
}
 
开发者ID:kuali-mirror,项目名称:kpme,代码行数:4,代码来源:DepartmentPrincipalRoleMemberBo.java

示例8: isActive

import org.kuali.rice.core.api.mo.common.active.InactivatableFromToUtils; //导入方法依赖的package包/类
public boolean isActive() {
    return InactivatableFromToUtils.isActive(activeFromDate, activeToDate, null);
}
 
开发者ID:kuali-mirror,项目名称:kpme,代码行数:4,代码来源:WorkAreaPositionRoleMemberBo.java

示例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));
}
 
开发者ID:aapotts,项目名称:kuali_rice,代码行数:8,代码来源:InactivatableFromToImpl.java


注:本文中的org.kuali.rice.core.api.mo.common.active.InactivatableFromToUtils.isActive方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。