List of usage examples for org.joda.time Duration toStandardHours
public Hours toStandardHours()
From source file:com.axelor.apps.crm.service.EventReminderService.java
License:Open Source License
public int getHoursDuration(Duration duration) { return duration.toStandardHours().getHours(); }
From source file:com.axelor.apps.organisation.service.LeaveRequestService.java
License:Open Source License
public int getHoursDuration(Duration duration) { return duration.toStandardHours().getHours(); }
From source file:com.axelor.apps.tool.date.DurationTool.java
License:Open Source License
public static int getHoursDuration(Duration duration) { return duration.toStandardHours().getHours(); }