Skip to content

Commit

Permalink
logger update
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhitocode committed Dec 9, 2024
1 parent 59fb324 commit 790b177
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,11 @@ private BusinessCalendarImpl(CalendarBean calendarBean, Calendar testingCalendar
*/
@Override
public long calculateBusinessTimeAsDuration(String timeExpression) {
logger.trace("timeExpression {}", timeExpression);
timeExpression = adoptISOFormat(timeExpression);

Date calculatedDate = calculateBusinessTimeAsDate(timeExpression);
logger.debug("calculatedDate({})-currentTime({}) is {}", calculatedDate, getCurrentTime(), calculatedDate.getTime() - getCurrentTime());
logger.debug("calculatedDate: {}, currentTime: {}, timeExpression: {}, Difference: {} ms",
calculatedDate, new Date(getCurrentTime()), timeExpression, calculatedDate.getTime() - getCurrentTime());

return (calculatedDate.getTime() - getCurrentTime());
}
Expand Down

0 comments on commit 790b177

Please sign in to comment.