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


Java InactivatableFromToUtils类代码示例

本文整理汇总了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));
}
 
开发者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包/类
@Override
public boolean isActive(DateTime activeAsOfDate) {
    return InactivatableFromToUtils.isActive(activeFromDate, activeToDate, null);
}
 
开发者ID:VU-libtech,项目名称:OLE-INST,代码行数:5,代码来源:OleKimDocRoleMember.java

示例6: 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,代码来源:WorkAreaPrincipalRoleMemberBo.java


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