Post

2021-05-16-TIL

2021-05-16-TIL

Enum 사용

  • https://jojoldu.tistory.com/137
  • https://limkydev.tistory.com/66

LocalDateTime

  • https://jeong-pro.tistory.com/163
  • https://java119.tistory.com/52
  • https://mkyong.com/java8/java-8-how-to-format-localdatetime/
  • https://a1010100z.tistory.com/91

LocalTime compareTo()

  • https://www.geeksforgeeks.org/localtime-compareto-method-in-java-with-examples/

LocalTime plusDays()

  • https://www.geeksforgeeks.org/localdate-plusdays-method-in-java-with-examples/#:~:text=The%20plusDays()%20method%20of,unaffected%20by%20this%20method%20call.

LocalDateTime to Date

  • https://mkyong.com/java8/java-8-convert-localdate-and-localdatetime-to-date/

String to LocalDateTime

  • https://www.java67.com/2016/04/how-to-convert-string-to-localdatetime-in-java8-example.html

ParseException

Date클래스에서 parse()메서드를 사용하면 발생할 수 있는 예외이다. 이 메서드를 사용하려면 무조건 이 예외에 대해서 처리해주어야한다. 하지만 LocalDateTime을 사용하면 별도로 처리해주지 않아도 자동으로 해준다.

  • https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/text/ParseException.html

Stream에서 예외를 throw하는 방법

  • https://www.python2.net/questions-1295762.htm

예외 처리

  • https://www.slipp.net/questions/350

List to Map

  • https://www.baeldung.com/java-list-to-map
  • https://mkyong.com/java8/java-8-convert-list-to-map/
  • https://dzone.com/articles/how-to-convert-list-to-map-in-java

List to Map

  • https://www.baeldung.com/convert-list-to-set-and-set-to-list
This post is licensed under CC BY 4.0 by the author.