Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Week Offset for RecurringServices. #187

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Added Week Offset for RecurringServices.
gosso22 committed Apr 20, 2022

Verified

This commit was signed with the committer’s verified signature.
gosso22 Kassim Sheghembe
commit f5f3f2a6ace6bf101786d1f7be650772c17edfba
Original file line number Diff line number Diff line change
@@ -1137,6 +1137,8 @@ public static DateTime processConfigDateTimeOffset(DateTime afterOffset, String
String fieldString = m2.group(2);
if ("d".endsWith(fieldString)) {
afterOffset = afterOffset.plusDays(curValue);
} else if ("w".endsWith(fieldString)) {
afterOffset = afterOffset.plusWeeks(curValue);
} else if ("m".equals(fieldString)) {
afterOffset = afterOffset.plusMonths(curValue);
} else if ("y".equals(fieldString)) {