Skip to content

Commit

Permalink
Merge pull request #57 from policeman-tools/issue19
Browse files Browse the repository at this point in the history
Issue #19: Add java.time APIs using default timezone and default locale
  • Loading branch information
uschindler committed Jun 20, 2015
2 parents 13a6b3f + bec07cf commit c34a02a
Showing 1 changed file with 28 additions and 2 deletions.
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)

0 comments on commit c34a02a

Please sign in to comment.