public class DefaultTimeformatService extends Object implements TimeformatService
Constructor and Description |
---|
DefaultTimeformatService() |
Modifier and Type | Method and Description |
---|---|
String |
format(Date date,
java.time.ZoneId zoneId) |
String |
format(java.time.Instant instant,
java.time.ZoneId zoneId) |
String |
getFormatPattern() |
public String format(java.time.Instant instant, java.time.ZoneId zoneId)
format
in interface TimeformatService
public String format(Date date, java.time.ZoneId zoneId)
format
in interface TimeformatService
public String getFormatPattern()
getFormatPattern
in interface TimeformatService
Copyright © 2021. All rights reserved.