Skip to content

Commit

Permalink
#2 - Feat: Util.spring.responseEntityOf() 도입
Browse files Browse the repository at this point in the history
  • Loading branch information
ahah525 committed Nov 8, 2022
1 parent 53ea4b8 commit 7e4ffe9
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
package com.example.mutbooks.util;

import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.time.format.DateTimeFormatter;
import java.util.Calendar;

public class Ut {
public static class spring {
public static <T> ResponseEntity<T> responseEntityOf(HttpHeaders headers) {
return new ResponseEntity<>(null, headers, HttpStatus.OK);
}
}

public static class date {

// 해당 년, 월의 마지막 일자 구하기
Expand Down

0 comments on commit 7e4ffe9

Please sign in to comment.