Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Subtracting a period of time from a JodaTime DateTime object

Header Image

  1. Using the Period class to represent a period of time
    • This article explores how to use the Period class in JodaTime to represent a period of time, including creating Period objects and adding or subtracting time from DateTime objects.
  2. Examples of subtracting a period of time
    • This article covers how to subtract a period of time from a JodaTime DateTime object using the Period class and provides examples of different time intervals being subtracted.

Table of contents