https://github.com/sualeh/make-a-date
Covers date and time concepts, common sources of errors, and the Java Date and Time API.
https://github.com/sualeh/make-a-date
date datetime java java-8 time
Last synced: 9 months ago
JSON representation
Covers date and time concepts, common sources of errors, and the Java Date and Time API.
- Host: GitHub
- URL: https://github.com/sualeh/make-a-date
- Owner: sualeh
- License: epl-2.0
- Created: 2014-02-18T19:40:14.000Z (almost 12 years ago)
- Default Branch: main
- Last Pushed: 2024-09-20T23:07:49.000Z (over 1 year ago)
- Last Synced: 2025-04-23T20:11:42.428Z (9 months ago)
- Topics: date, datetime, java, java-8, time
- Language: Java
- Homepage:
- Size: 1.99 MB
- Stars: 1
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: .github/README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
> **Please support this project by putting a :star: on it**
# Make a Date
Covers date and time concepts, common sources of errors, and the Java Date and Time API.
## Slides and Code
- **Overview**
Goes over date and time concepts and common sources of errors.
- [Make a Date - Concepts](https://sualeh.github.io/make-a-date/make-a-date/make-a-date.pdf)
- [Time zones quiz](TimeZones.md)
- **Modeling in SQL**
- [How to model date and time in SQL](https://sualeh.github.io/make-a-date/modeling-in-sql/modeling-in-sql.pdf)
- **Java Date-Time API**
Explains the Java Date-Time API and uses JUnit tests to explain how the code should behave.
- [How to model date and time in Java](https://sualeh.github.io/make-a-date/modeling-in-java/modeling-in-java.pdf)
- _Code Examples_
- [Fully working code examples from the presentation](https://github.com/sualeh/make-a-date/tree/main/Java/src/main/java/us/fatehi/timeapi/presentation)
- [Solutions](https://github.com/sualeh/make-a-date/tree/main/Java/src/main/java/us/fatehi/timeapi/exercises) to [Questions and Exercises: Date-Time API](http://docs.oracle.com/javase/tutorial/datetime/iso/QandE/questions.html)
- [Date and Calendar in Java](https://docs.google.com/presentation/d/1iZZA0kTi3noP2wdnpHZLzHReynnBJ_yCSNmzqQPt_ew/edit?usp=sharing) the old way and new.
# Resources
- **Java Date-Time API**
- [Java 101: Catching up with the Java Date and Time API](http://www.javaworld.com/article/2078757/java-se/java-se-java-101-the-next-generation-it-s-time-for-a-change.html)
- [Collection of articles and links about JSR-310](http://www.threeten.org/links.html)
- [Intuitive, Robust Date and Time Handling, Finally Comes to Java](https://www.infoq.com/articles/java.time)
- [Convert java.util.Date to what “java.time” type?](http://stackoverflow.com/questions/36639154/convert-java-util-date-to-what-java-time-type)
- [Convert java.util.Date to java.time.LocalDate](http://stackoverflow.com/questions/21242110/convert-java-util-date-to-java-time-localdate/21242111#21242111)