jenkinsci / jenkinsci/date-parameter-plugin

[question] get next Friday

Open
#3 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
18
Forks
22
PR merge metrics
No merged PRs in 30d

Description

Is there a way to get the next given day after a date? For e.g. I want to find when will be the next Friday after 04/16/2018.

I know in Java you can do something like this:

```java
LocalDate.now().with(TemporalAdjusters.next(DayOfWeek.FRIDAY));
```

Is this possible with this plugin? If not, I am happy to help adding this feature and open a pr. 👍

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.