title: How to represent any "duration" or "period" in Joda time?
body: <p>I want to represent 24 hours as a "duration". That is it should be from <strong>ONLY from 00:00:00 to 24:00:00</strong>. Things like 12AM today to 12AM tomorrow are NOT ok. It is also 24 hours but, its not what I want. Also, there should be no concept of date or day attached to this "duration".</p>
  
  <p>How do I do this using Joda Time ? </p>
  
  <p><strong>EDIT -</strong> </p>
  
  <p>Use case - 
  '
  I want to create a scheduling program. The 24 hour "period" is split into slices of any size such as 20min, 30 min or 1 hour. I only want to use Joda to create a 24hr time "period" and slices of that time period". I know that joda cannot do any shceduling.</p>
  
  <p>Eg.</p>
  
  <p>Slices of 1 hr - </p>
  
  <pre><code>00:00:00 - 01:00:00
  01:00:00 - 02:00:00
  all the way up to -
  23:00:00 - 24:00:00
  </code></pre>
  
  <p>Schedule - </p>
  
  <pre><code>00:00:00 - 07:00:00 - sleep
  07:00:00 - 08:00:00 - get ready for work
  08:00:00 - 09:00:00 - drive to work
  09:00:00 - 17:00:00 - work
  etc...
  </code></pre>
  
  <p>This is the schedule for weekdays. Weekends are for relaxing. :)</p>