Interface ItemWorkDayService

  • All Known Implementing Classes:
    ItemWorkDayServiceImpl

    public interface ItemWorkDayService
    工作日计算
    Author:
    qinman
    • Method Detail

      • getDay

        int getDay​(Date startDate,
                   Date endDate)
      • getDate

        String getDate​(Date date,
                       int days)
                throws ParseException
        计算某个日期几个工作日后的日期
        Parameters:
        date - 起始日期
        days - 几个工作日
        Returns:
        计算后的日期字符串 YYYY-MM-DD
        Throws:
        ParseException