Skip to content

Commit

Permalink
Fixed DateTimeParser comments for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfjw committed Nov 7, 2016
1 parent 77f3d09 commit 1b95d4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/seedu/taskman/logic/parser/DateTimeParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ private static String appendLocalTimeZone(String dateTime) {
}

/**
* Calculates the end time from a start time & duration
* Start time & end time in epoch time (in seconds)
* Calculates end time from a start time & duration
* Start time & end time are in epoch time (in seconds)
*/
public static long toEndTime(long startEpochTime, String naturalDuration) throws IllegalDateTimeException {
long endEpochTime = startEpochTime + naturalDurationToSeconds(naturalDuration);
Expand Down

0 comments on commit 1b95d4b

Please sign in to comment.