Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #19: Add java.time APIs using default timezone and default locale #57

Merged
merged 4 commits into from
Jun 20, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,32 @@

# These methods and classes should not be used by server classes (unsafe, no charset, no locale,...):

# We only include 1.7 for now.
# TODO: Scan Java 8 API for additional locale/charset/... violations!
@includeBundled jdk-unsafe-1.7

@defaultMessage Uses default time zone
java.time.LocalDateTime#now()
java.time.LocalDate#now()
java.time.LocalTime#now()
java.time.OffsetDateTime#now()
java.time.OffsetTime#now()
java.time.Year#now()
java.time.YearMonth#now()
java.time.MonthDay#now()
java.time.chrono.Chronology#dateNow()
java.time.chrono.HijrahChronology#dateNow()
java.time.chrono.JapaneseChronology#dateNow()
java.time.chrono.MinguoChronology#dateNow()
java.time.chrono.ThaiBuddhistChronology#dateNow()
java.time.chrono.IsoChronology#dateNow()
java.time.chrono.HijrahDate#now()
java.time.chrono.JapaneseDate#now()
java.time.chrono.MinguoDate#now()
java.time.chrono.ThaiBuddhistDate#now()

@defaultMessage Uses default locale
java.time.format.DateTimeFormatterBuilder#toFormatter(java.time.format.ResolverStyle,java.time.chrono.Chronology)
java.time.format.DateTimeFormatter#ofLocalizedDate(java.time.format.FormatStyle)
java.time.format.DateTimeFormatter#ofLocalizedDateTime(java.time.format.FormatStyle,java.time.format.FormatStyle)
java.time.format.DateTimeFormatter#ofLocalizedDateTime(java.time.format.FormatStyle)
java.time.format.DateTimeFormatter#ofLocalizedTime(java.time.format.FormatStyle)
java.time.format.DateTimeFormatter#ofPattern(java.lang.String)