Hide seconds granularity in calendar exception types
FEA: ItEr75S04BugFixing
This commit is contained in:
parent
c819e577be
commit
0227ab33d0
2 changed files with 3 additions and 5 deletions
|
|
@ -150,8 +150,7 @@ public class CalendarExceptionType extends IntegrationEntity implements
|
|||
EnumMap<Granularity, Integer> values = duration.decompose();
|
||||
Integer hours = values.get(Granularity.HOURS);
|
||||
Integer minutes = values.get(Granularity.MINUTES);
|
||||
Integer seconds = values.get(Granularity.SECONDS);
|
||||
return hours + ":" + minutes + ":" + seconds ;
|
||||
return hours + ":" + minutes;
|
||||
}
|
||||
|
||||
public void setDuration(EffortDuration duration) {
|
||||
|
|
|
|||
|
|
@ -181,8 +181,7 @@ public class Capacity {
|
|||
EnumMap<Granularity, Integer> values = duration.decompose();
|
||||
Integer hours = values.get(Granularity.HOURS);
|
||||
Integer minutes = values.get(Granularity.MINUTES);
|
||||
Integer seconds = values.get(Granularity.SECONDS);
|
||||
return hours + ":" + minutes + ":" + seconds;
|
||||
return hours + ":" + minutes;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -267,4 +266,4 @@ public class Capacity {
|
|||
+ "]";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue