Java【Java】日付・時刻を取得する Java APIを使って現在時刻を取得し、指定したフォーマットで表示する。java.time.LocalDateTimeの使い方。java.time.format.DateTimeFormatterの使い方。 2021.10.17Java