- Java 9 Programming Blueprints
- Jason Lee
- 120字
- 2021-07-02 18:56:28
Date Calculator
With the release of Java 8, Oracle integrated a new library based on a redesign of Joda Time, more or less, into the JDK. Officially known as JSR 310, this new library fixed a longstanding complaint with the JDK--the official date libraries were inadequate and hard to use. In this project, we'll build a simple command-line date calculator that will take a date and, for example, add an arbitrary amount of time to it. Consider the following piece of code for example:
$ datecalc "2016-07-04 + 2 weeks" 2016-07-18 $ datecalc "2016-07-04 + 35 days" 2016-08-08 $ datecalc "12:00CST to PST" 10:00PST
This project will cover the following:
- Java 8 Date/Time APIs
- Regular expressions
- Java command-line libraries
推薦閱讀
- INSTANT OpenCV Starter
- PostgreSQL技術內幕:事務處理深度探索
- SQL經典實例(第2版)
- Getting Started with Greenplum for Big Data Analytics
- Swift 4 Protocol-Oriented Programming(Third Edition)
- 響應式架構:消息模式Actor實現與Scala、Akka應用集成
- C# and .NET Core Test Driven Development
- Illustrator CS6設計與應用任務教程
- Mastering Elixir
- SpringBoot從零開始學(視頻教學版)
- 遠方:兩位持續創業者的點滴思考
- Android移動應用項目化教程
- DevOps 精要:業務視角
- 例說FPGA:可直接用于工程項目的第一手經驗
- 3D Printing Designs:Design an SD Card Holder