Changeset 20472

Show
Ignore:
Timestamp:
02/26/10 09:51:26 (5 months ago)
Author:
nilesh
Message:

-changes in working time calendar helper classes for making any day as working as warning option.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/core/src/net/project/calendar/workingtime/WorkingTimeCalendarDateEntryHelper.java

    r18888 r20472  
    183183    } 
    184184 
    185     private void setNonWorkingTimeSelected() { 
     185    public void setNonWorkingTimeSelected() { 
    186186        this.selectedOption = NON_WORKING_TIME; 
    187187    } 
     
    191191    } 
    192192 
    193     private void setWorkingTimeSelected() { 
     193    public void setWorkingTimeSelected() { 
    194194        this.selectedOption = WORKING_TIME; 
    195195    } 
     
    236236            if (nextName.startsWith("timeControl_")) { 
    237237                // We found a parameter controlling a time of form: 
    238                 // <prefix>_<position> 
     238                // <prefix>_<position>  
    239239                // where position 0..5 
    240240                int position = Integer.valueOf(nextName.substring(nextName.indexOf('_') + 1)).intValue(); 
     
    499499        } 
    500500 
     501        /** 
     502         * @param isSingleDate the isSingleDate to set 
     503         */ 
     504        public void setSingleDate(boolean isSingleDate) { 
     505                this.isSingleDate = isSingleDate; 
     506        } 
     507 
     508        /** 
     509         * @param singleDate the singleDate to set 
     510         */ 
     511        public void setSingleDate(Date singleDate) { 
     512                this.singleDate = singleDate; 
     513        } 
     514 
    501515} 
  • trunk/core/src/net/project/calendar/workingtime/WorkingTimeEditHelper.java

    r18397 r20472  
    113113     * the time is set to null 
    114114     */ 
    115     void setStartTime(int position, Date startTime) { 
     115    public void setStartTime(int position, Date startTime) { 
    116116        WorkingTimeEditor workingTime = (WorkingTimeEditor) this.workingTimes.get(position); 
    117117        workingTime.setStartTime(makeTime(startTime)); 
     
    147147     * the time is set to null 
    148148     */ 
    149     void setEndTime(int position, Date endTime) { 
     149    public void setEndTime(int position, Date endTime) { 
    150150        WorkingTimeEditor workingTime = (WorkingTimeEditor) this.workingTimes.get(position); 
    151151        Time time = makeTime(endTime);