Skip to content

Commit

Permalink
Merge pull request #80 from Team-KeepGoing/feature/book
Browse files Browse the repository at this point in the history
Edit :: utill
  • Loading branch information
priverg authored Sep 5, 2024
2 parents 4b040d6 + 5de91e0 commit 90edae8
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
package com.keepgoing.keepserver.global.util;

import lombok.Getter;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

@Getter
public class DateRange {
private final LocalDateTime st;
private final LocalDateTime end;
Expand All @@ -20,12 +23,5 @@ public static DateRange fromDateString(String dateString, String pattern) {
LocalDateTime endOfDay = date.atTime(23, 59, 59);
return new DateRange(startOfDay, endOfDay);
}
public LocalDateTime getStart() {
return st;
}

public LocalDateTime getEnd() {
return end;
}
}

0 comments on commit 90edae8

Please sign in to comment.