The DSM-IV defines depressive personality disorder as "a pervasive pattern of depressive cognitions and behaviors beginning by early adulthood and occurring in a variety of contexts." Depressive personality disorder occurs before, during, and after major depressive episodes, making it a distinct diagnosis not included in the definition of either major depressive episodes or dysthymic disorder. Specifically, five or more of the following must be present most days for at least two years in order for a diagnosis of depressive personality disorder to be made: