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:   Source Code and License Vote up 6 votes
public boolean isValidWorkingPeriod(DateTime workingStart, DateTime workingEnd) {
	if(workingStart.isAfter(workingEnd)) {
		return false;
	} else {
		return workingStart.getMinuteOfDay() >= 15 && workingEnd.getMinuteOfDay() <= 1425;