Uses of Interface
com.opengamma.strata.basics.date.BusinessDayConvention
-
Packages that use BusinessDayConvention Package Description com.opengamma.strata.basics.date Tools for working with dates.com.opengamma.strata.loader Tools for loading data from files.com.opengamma.strata.loader.csv Loader that reads market data from CSV files.com.opengamma.strata.loader.fpml Loader that can convert files to financial instruments. -
-
Uses of BusinessDayConvention in com.opengamma.strata.basics.date
Fields in com.opengamma.strata.basics.date declared as BusinessDayConvention Modifier and Type Field Description static BusinessDayConvention
BusinessDayConventions. FOLLOWING
The 'Following' convention which adjusts to the next business day.static BusinessDayConvention
BusinessDayConventions. MODIFIED_FOLLOWING
The 'ModifiedFollowing' convention which adjusts to the next business day without crossing month end.static BusinessDayConvention
BusinessDayConventions. MODIFIED_FOLLOWING_BI_MONTHLY
The 'ModifiedFollowingBiMonthly' convention which adjusts to the next business day without crossing mid-month or month end.static BusinessDayConvention
BusinessDayConventions. MODIFIED_PRECEDING
The 'ModifiedPreceding' convention which adjusts to the previous business day without crossing month start.static BusinessDayConvention
BusinessDayConventions. NEAREST
The 'Nearest' convention which adjusts Sunday and Monday forward, and other days backward.static BusinessDayConvention
BusinessDayConventions. NO_ADJUST
The 'NoAdjust' convention which makes no adjustment.static BusinessDayConvention
BusinessDayConventions. PRECEDING
The 'Preceding' convention which adjusts to the previous business day.Methods in com.opengamma.strata.basics.date that return BusinessDayConvention Modifier and Type Method Description BusinessDayConvention
BusinessDayAdjustment. getConvention()
Gets the convention used to the adjust the date if it does not fall on a business day.static BusinessDayConvention
BusinessDayConvention. of(String uniqueName)
Obtains an instance from the specified unique name.Methods in com.opengamma.strata.basics.date that return types with arguments of type BusinessDayConvention Modifier and Type Method Description org.joda.beans.MetaProperty<BusinessDayConvention>
BusinessDayAdjustment.Meta. convention()
The meta-property for theconvention
property.static ExtendedEnum<BusinessDayConvention>
BusinessDayConvention. extendedEnum()
Gets the extended enum helper.Methods in com.opengamma.strata.basics.date with parameters of type BusinessDayConvention Modifier and Type Method Description BusinessDayAdjustment.Builder
BusinessDayAdjustment.Builder. convention(BusinessDayConvention convention)
Sets the convention used to the adjust the date if it does not fall on a business day.static BusinessDayAdjustment
BusinessDayAdjustment. of(BusinessDayConvention convention, HolidayCalendarId calendar)
Obtains an instance using the specified convention and calendar. -
Uses of BusinessDayConvention in com.opengamma.strata.loader
Methods in com.opengamma.strata.loader that return BusinessDayConvention Modifier and Type Method Description static BusinessDayConvention
LoaderUtils. parseBusinessDayConvention(String str)
Parses business day convention from the input string. -
Uses of BusinessDayConvention in com.opengamma.strata.loader.csv
Methods in com.opengamma.strata.loader.csv with parameters of type BusinessDayConvention Modifier and Type Method Description static AdjustableDate
CsvLoaderUtils. parseAdjustableDate(CsvRow row, String dateField, String conventionField, String calendarField, BusinessDayConvention defaultConvention, Currency currency)
Parses a business day adjustment, defaulting the adjustment using the currency. -
Uses of BusinessDayConvention in com.opengamma.strata.loader.fpml
Methods in com.opengamma.strata.loader.fpml that return BusinessDayConvention Modifier and Type Method Description BusinessDayConvention
FpmlDocument. convertBusinessDayConvention(String fmplBusinessDayConventionName)
Converts an FpML business day convention string to aBusinessDayConvention
.
-