Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
3 replies
Subscribers
5 subscribers
Views
2238 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Would somebody please point me in the right direction regarding Calendar functio
rob.clarke
over 13 years ago
Would somebody please point me in the right direction regarding Calendar functionality available within plugin functions. I have a resonable amount of Appian and Java knowledge but am a complete novice when it comes to understanding the Appian public APIs.
I would like to create a custom function that calculates the number of the calendar minutes between 2 date/times on a specified calendar.
I think I need to use the "workingMinutesInRange" method of the "WorkingCalendar" object to do this but I'm struggling to understand how
I create a "WorkingCalendar" object for a given calendar from "ServiceContext", passed to the function, as my starting point?
Any help gratefully received. :)...
OriginalPostID-30722
OriginalPostID-30722
Discussion posts and replies are publicly visible
0
Michael Tan
Appian Employee
over 13 years ago
Rob,
I have shared with you a component (via email) which has a couple additional calendar expressions:
calworkseconds(start_datetime, end_datetime, calendar_name)
caladdminutes(start_datetime, minutes, calendar_name)
The calendar_name parameter is optional.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
rob.clarke
over 13 years ago
Thanks Michael. That example is very helpful.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Jess
over 9 years ago
@michael what plugin is it? I also need the caladdminutes function. TIA.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel