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 BusinessDayConventionBusinessDayConventions. FOLLOWINGThe 'Following' convention which adjusts to the next business day.static BusinessDayConventionBusinessDayConventions. MODIFIED_FOLLOWINGThe 'ModifiedFollowing' convention which adjusts to the next business day without crossing month end.static BusinessDayConventionBusinessDayConventions. MODIFIED_FOLLOWING_BI_MONTHLYThe 'ModifiedFollowingBiMonthly' convention which adjusts to the next business day without crossing mid-month or month end.static BusinessDayConventionBusinessDayConventions. MODIFIED_PRECEDINGThe 'ModifiedPreceding' convention which adjusts to the previous business day without crossing month start.static BusinessDayConventionBusinessDayConventions. NEARESTThe 'Nearest' convention which adjusts Sunday and Monday forward, and other days backward.static BusinessDayConventionBusinessDayConventions. NO_ADJUSTThe 'NoAdjust' convention which makes no adjustment.static BusinessDayConventionBusinessDayConventions. PRECEDINGThe 'Preceding' convention which adjusts to the previous business day.Methods in com.opengamma.strata.basics.date that return BusinessDayConvention Modifier and Type Method Description BusinessDayConventionBusinessDayAdjustment. getConvention()Gets the convention used to the adjust the date if it does not fall on a business day.static BusinessDayConventionBusinessDayConvention. 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 theconventionproperty.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.BuilderBusinessDayAdjustment.Builder. convention(BusinessDayConvention convention)Sets the convention used to the adjust the date if it does not fall on a business day.static BusinessDayAdjustmentBusinessDayAdjustment. 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 BusinessDayConventionLoaderUtils. 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 AdjustableDateCsvLoaderUtils. 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 BusinessDayConventionFpmlDocument. convertBusinessDayConvention(String fmplBusinessDayConventionName)Converts an FpML business day convention string to aBusinessDayConvention.
-