java.lang.Object
com.codebarrel.automation.api.component.smartvalues.objectwrappers.DatePrinter
com.codebarrel.automation.api.component.smartvalues.objectwrappers.LocalDateWrapper
All Implemented Interfaces:
InputRenderable, SmartValueWrapper
Direct Known Subclasses:
LegacyLocalDateWrapper

public class LocalDateWrapper extends DatePrinter implements SmartValueWrapper
  • Constructor Details

  • Method Details

    • plusDays

      public LocalDate plusDays(double days)
    • plusYears

      public LocalDate plusYears(double years)
    • plusMonths

      public LocalDate plusMonths(double months)
    • plusWeeks

      public LocalDate plusWeeks(double weeks)
    • minusYears

      public LocalDate minusYears(double years)
    • minusMonths

      public LocalDate minusMonths(double months)
    • minusWeeks

      public LocalDate minusWeeks(double weeks)
    • minusDays

      public LocalDate minusDays(double days)
    • getYear

      public int getYear()
    • getMonthOfYear

      public int getMonthOfYear()
    • getDayOfYear

      public int getDayOfYear()
    • getDayOfMonth

      public int getDayOfMonth()
    • getDayOfWeek

      public int getDayOfWeek()
    • withYear

      public LocalDate withYear(double year)
    • withMonthOfYear

      public LocalDate withMonthOfYear(double monthOfYear)
    • withMonth

      public LocalDate withMonth(double monthOfYear)
    • withNextDayOfWeek

      public LocalDate withNextDayOfWeek(double dayCodeOfTheWeek)
    • withNextDayOfWeek

      public LocalDate withNextDayOfWeek(String dayCodeOfTheWeek)
    • withDayOfYear

      public LocalDate withDayOfYear(double dayOfYear)
    • withDayOfMonth

      public LocalDate withDayOfMonth(double dayOfMonth)
    • isAfter

      public boolean isAfter(LocalDate compare)
    • isBefore

      public boolean isBefore(LocalDate compare)
    • isEqual

      public boolean isEqual(LocalDate compare)
    • compareTo

      public int compareTo(LocalDate compare)
    • isAfter

      public boolean isAfter(ZonedDateTime dt)
    • isBefore

      public boolean isBefore(ZonedDateTime dt)
    • isEqual

      public boolean isEqual(ZonedDateTime dt)
    • compareTo

      public int compareTo(ZonedDateTime dt)
    • toDateTimeAtStartOfDay

      public ZonedDateTime toDateTimeAtStartOfDay()
    • toDateTimeAtStartOfDay

      public ZonedDateTime toDateTimeAtStartOfDay(String timeZone)
    • toDateTimeAtCurrentTime

      public ZonedDateTime toDateTimeAtCurrentTime(String timeZone)
    • toDateTimeAtCurrentTime

      public ZonedDateTime toDateTimeAtCurrentTime()
    • endOfMonth

      public LocalDate endOfMonth()
    • startOfMonth

      public LocalDate startOfMonth()
    • firstOfTheMonth

      public LocalDate firstOfTheMonth(double day)
    • lastOfTheMonth

      public LocalDate lastOfTheMonth(double day)
    • ofTheMonth

      public LocalDate ofTheMonth(double n, double day)
    • toDays

      public long toDays()
    • diff

      public DiffPrinter diff(Temporal diffDate)
    • toBusinessDayForwards

      public LocalDate toBusinessDayForwards()
    • toBusinessDay

      public LocalDate toBusinessDay()
    • toBusinessDayBackwards

      public LocalDate toBusinessDayBackwards()
    • firstBusinessDayOfMonth

      public LocalDate firstBusinessDayOfMonth()
    • LastBusinessDayOfMonth

      public LocalDate LastBusinessDayOfMonth()
    • plusBusinessDays

      public LocalDate plusBusinessDays(double value)
    • minusBusinessDays

      public LocalDate minusBusinessDays(double value)
    • isLeapYear

      public boolean isLeapYear()
    • lengthOfMonth

      public int lengthOfMonth()
    • lengthOfYear

      public int lengthOfYear()
    • getWrappedValue

      public Object getWrappedValue()
      Specified by:
      getWrappedValue in interface SmartValueWrapper