Java 类ims.core.vo.SignatoryShiftDetailsVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private SignatoryShiftDetailsVo findIfShiftDetailsAlreadyRecorded(DailyTimePeriods value, SignatoryShiftDetailsVoCollection signatoryShifts)
{
    // See if this time period is in a configured shift which has already
    // been instansiated......
    DailyTimePeriods timStartTimeTofind = getDailyTimePeriodStartTime(value, form.getLocalContext().getSavedDailyPatternConfig());

    if (signatoryShifts != null && signatoryShifts.size() > 0)
    {
        for (int i = 0; i < signatoryShifts.size(); i++)
        {
            if (signatoryShifts.get(i).getStartTimeIsNotNull() && signatoryShifts.get(i).getStartTime().equals(timStartTimeTofind))
                return signatoryShifts.get(i);
        }
    }
    return null;
}
项目:openMAXIMS    文件:Logic.java   
private SignatoryShiftDetailsVo findIfShiftDetailsAlreadyRecorded(DailyTimePeriods value, SignatoryShiftDetailsVoCollection signatoryShifts)
{
    // See if this time period is in a configured shift which has already
    // been instansiated......
    DailyTimePeriods timStartTimeTofind = getDailyTimePeriodStartTime(value, form.getLocalContext().getSavedDailyPatternConfig());

    if (signatoryShifts != null && signatoryShifts.size() > 0)
    {
        for (int i = 0; i < signatoryShifts.size(); i++)
        {
            if (signatoryShifts.get(i).getStartTimeIsNotNull() && signatoryShifts.get(i).getStartTime().equals(timStartTimeTofind))
                return signatoryShifts.get(i);
        }
    }
    return null;
}
项目:openMAXIMS    文件:Logic.java   
private SignatoryShiftDetailsVo findIfShiftDetailsAlreadyRecorded(DailyTimePeriods value, SignatoryShiftDetailsVoCollection signatoryShifts)
{
    // See if this time period is in a configured shift which has already
    // been instansiated......
    DailyTimePeriods timStartTimeTofind = getDailyTimePeriodStartTime(value, form.getLocalContext().getSavedDailyPatternConfig());

    if (signatoryShifts != null && signatoryShifts.size() > 0)
    {
        for (int i = 0; i < signatoryShifts.size(); i++)
        {
            if (signatoryShifts.get(i).getStartTimeIsNotNull() && signatoryShifts.get(i).getStartTime().equals(timStartTimeTofind))
                return signatoryShifts.get(i);
        }
    }
    return null;
}
项目:openmaxims-linux    文件:Logic.java   
private SignatoryShiftDetailsVo findIfShiftDetailsAlreadyRecorded(DailyTimePeriods value, SignatoryShiftDetailsVoCollection signatoryShifts)
{
    // See if this time period is in a configured shift which has already
    // been instansiated......
    DailyTimePeriods timStartTimeTofind = getDailyTimePeriodStartTime(value, form.getLocalContext().getSavedDailyPatternConfig());

    if (signatoryShifts != null && signatoryShifts.size() > 0)
    {
        for (int i = 0; i < signatoryShifts.size(); i++)
        {
            if (signatoryShifts.get(i).getStartTimeIsNotNull() && signatoryShifts.get(i).getStartTime().equals(timStartTimeTofind))
                return signatoryShifts.get(i);
        }
    }
    return null;
}