public class TimeServiceImpl extends Object implements TimeService
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
log |
Constructor and Description |
---|
TimeServiceImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getDayMinusXBusinessDay(int offsetDay,
String zone,
String formatter) |
String |
getDayPlusXBusinessDay(int offsetDay,
String zone,
String formatter) |
public String getDayMinusXBusinessDay(int offsetDay, String zone, String formatter)
getDayMinusXBusinessDay
in interface TimeService
offsetDay
- is number of day sub.zone
- is String of ZoneId (ex: Europe/Paris)formatter
- is an string ZonedDateTime formatter.public String getDayPlusXBusinessDay(int offsetDay, String zone, String formatter)
getDayPlusXBusinessDay
in interface TimeService
offsetDay
- is number of day added.zone
- is String of ZoneId (ex: Europe/Paris)formatter
- is an string ZonedDateTime formatter.Copyright © 2023 NoraUi. All rights reserved.