Package com.codetaco.date.impl
Class CalendarFactoryImpl
- java.lang.Object
-
- com.codetaco.date.impl.CalendarFactoryImpl
-
- All Implemented Interfaces:
ICalendarFactory
public class CalendarFactoryImpl extends Object implements ICalendarFactory
-
-
Constructor Summary
Constructors Constructor Description CalendarFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
asFormula(ZonedDateTime ldt)
ZonedDateTime
getOverrideForSystemTime()
ZonedDateTime
modifyImpl(ZonedDateTime startingDate, String... adjustmentsArray)
ZonedDateTime
noTimeImpl(ZonedDateTime startingDate)
ZonedDateTime
nowImpl(String... adjustmentsArray)
void
setOverrideForSystemTime(ZonedDateTime overrideDateAndTime)
ZonedDateTime
todayImpl(String... adjustmentsArray)
-
-
-
Method Detail
-
asFormula
public String asFormula(ZonedDateTime ldt)
- Specified by:
asFormula
in interfaceICalendarFactory
-
modifyImpl
public ZonedDateTime modifyImpl(ZonedDateTime startingDate, String... adjustmentsArray)
- Specified by:
modifyImpl
in interfaceICalendarFactory
-
noTimeImpl
public ZonedDateTime noTimeImpl(ZonedDateTime startingDate)
- Specified by:
noTimeImpl
in interfaceICalendarFactory
-
nowImpl
public ZonedDateTime nowImpl(String... adjustmentsArray)
- Specified by:
nowImpl
in interfaceICalendarFactory
-
setOverrideForSystemTime
public void setOverrideForSystemTime(ZonedDateTime overrideDateAndTime)
- Specified by:
setOverrideForSystemTime
in interfaceICalendarFactory
-
getOverrideForSystemTime
public ZonedDateTime getOverrideForSystemTime()
- Specified by:
getOverrideForSystemTime
in interfaceICalendarFactory
-
todayImpl
public ZonedDateTime todayImpl(String... adjustmentsArray)
- Specified by:
todayImpl
in interfaceICalendarFactory
-
-