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 TimeformatServicepublic String format(Date date, java.time.ZoneId zoneId)
format in interface TimeformatServicepublic String getFormatPattern()
getFormatPattern in interface TimeformatServiceCopyright © 2022. All rights reserved.