Adjuster#
- class rateslib.scheduling.Adjuster(args)#
Bases:
object
Enumerable type for date adjustment rules.
Variants
In [1]: variants Out[1]: ['to_json', 'Actual', 'Following', 'ModifiedFollowing', 'Previous', 'ModifiedPrevious', 'FollowingSettle', 'ModifiedFollowingSettle', 'PreviousSettle', 'ModifiedPreviousSettle', 'BusDaysLagSettle', 'CalDaysLagSettle', 'FollowingExLast', 'FollowingExLastSettle']
Methods Summary
adjust
(date, calendar)Return a date under a date adjustment rule.
adjusts
(dates, calendar)Return a vector of dates adjusted under a date adjustment rule.
to_json
()Return a JSON representation of the object.
Methods Documentation
- adjust(date, calendar)#
Return a date under a date adjustment rule.
- adjusts(dates, calendar)#
Return a vector of dates adjusted under a date adjustment rule.
- to_json()#
Return a JSON representation of the object.
- Return type:
str