Java Code Examples for org.joda.time.DateTime.getMinuteOfDay()

The following are Jave code examples for showing how to use getMinuteOfDay() of the org.joda.time.DateTime class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: JenkinsHue   File: HoldayServiceImpl.java   Source Code and License Vote up 6 votes
@Override
public boolean isValidWorkingPeriod(DateTime workingStart, DateTime workingEnd) {
	if(workingStart.isAfter(workingEnd)) {
		return false;
	} else {
		return workingStart.getMinuteOfDay() >= 15 && workingEnd.getMinuteOfDay() <= 1425;
	}
}