Skip to content

Commit

Permalink
[Enh]: Event Duration
Browse files Browse the repository at this point in the history
  • Loading branch information
seandenigris committed Mar 10, 2024
1 parent ea46564 commit c167674
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ProjectProject/PpEvent.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ PpEvent >> date: aDate [
endDate: aDate
]

{ #category : #accessing }
PpEvent >> duration [

^ self end - self start
]

{ #category : #accessing }
PpEvent >> end [

Expand Down

0 comments on commit c167674

Please sign in to comment.