Uses of Class
com.opengamma.strata.basics.date.HolidayCalendarId
-
Packages that use HolidayCalendarId Package Description com.opengamma.strata.basics.date Tools for working with dates.com.opengamma.strata.basics.index Entity objects describing common market indices, such as LIBOR and FED FUND.com.opengamma.strata.loader.fpml Loader that can convert files to financial instruments.com.opengamma.strata.product.credit Entity objects describing Credit Default Swap (CDS) and CDS index. -
-
Uses of HolidayCalendarId in com.opengamma.strata.basics.date
Fields in com.opengamma.strata.basics.date declared as HolidayCalendarId Modifier and Type Field Description static HolidayCalendarIdHolidayCalendarIds. AUSYAn identifier for the holiday calendar of Sydney, Australia, with code 'AUSY'.static HolidayCalendarIdHolidayCalendarIds. BRBDAn identifier for the holiday calendar of Brazil, with code 'BRBD'.static HolidayCalendarIdHolidayCalendarIds. CAMOAn identifier for the holiday calendar of Montreal, Canada, with code 'CAMO'.static HolidayCalendarIdHolidayCalendarIds. CATOAn identifier for the holiday calendar of Toronto, Canada, with code 'CATO'.static HolidayCalendarIdHolidayCalendarIds. CHZUAn identifier for the holiday calendar of Zurich, Switzerland, with code 'EUTA'.static HolidayCalendarIdHolidayCalendarIds. CZPRAn identifier for the holiday calendar of Prague, Czech Republic, with code 'CZPR'.static HolidayCalendarIdHolidayCalendarIds. DEFRAn identifier for the holiday calendar of Frankfurt, Germany, with code 'DEFR'.static HolidayCalendarIdHolidayCalendarIds. DKCOAn identifier for the holiday calendar of Copenhagen, Denmark, with code 'DKCO'.static HolidayCalendarIdHolidayCalendarIds. EUTAAn identifier for the holiday calendar of the European Union TARGET system, with code 'EUTA'.static HolidayCalendarIdHolidayCalendarIds. FRI_SATAn identifier for a calendar declaring all days as business days except Friday/Saturday weekends, with code 'FriSat'.static HolidayCalendarIdHolidayCalendarIds. FRPAAn identifier for the holiday calendar of Paris, France, with code 'FRPA'.static HolidayCalendarIdHolidayCalendarIds. GBLOAn identifier for the holiday calendar of London, United Kingdom, with code 'GBLO'.static HolidayCalendarIdHolidayCalendarIds. HUBUAn identifier for the holiday calendar of Budapest, Hungary, with code 'HUBU'.static HolidayCalendarIdHolidayCalendarIds. JPTOAn identifier for the holiday calendar of Tokyo, Japan, with code 'JPTO'.static HolidayCalendarIdHolidayCalendarIds. MXMCAn identifier for the holiday calendar of Mexico City, Mexico, with code 'MXMC'.static HolidayCalendarIdHolidayCalendarIds. NO_HOLIDAYSAn identifier for a calendar declaring no holidays and no weekends, with code 'NoHolidays'.static HolidayCalendarIdHolidayCalendarIds. NOOSAn identifier for the holiday calendar of Oslo, Norway, with code 'NOOS'.static HolidayCalendarIdHolidayCalendarIds. NYFDAn identifier for the holiday calendar of the Federal Reserve Bank of New York, with code 'NYFD'.static HolidayCalendarIdHolidayCalendarIds. NYSEAn identifier for the holiday calendar of the New York Stock Exchange, with code 'NYSE'.static HolidayCalendarIdHolidayCalendarIds. NZAUAn identifier for the holiday calendar of Auckland, New Zealand, with code 'NZAU'.static HolidayCalendarIdHolidayCalendarIds. NZWEAn identifier for the holiday calendar of Wellington, New Zealand, with code 'NZWE'.static HolidayCalendarIdHolidayCalendarIds. PLWAAn identifier for the holiday calendar of Warsaw, Poland, with code 'PLWA'.static HolidayCalendarIdHolidayCalendarIds. SAT_SUNAn identifier for a calendar declaring all days as business days except Saturday/Sunday weekends, with code 'SatSun'.static HolidayCalendarIdHolidayCalendarIds. SESTAn identifier for the holiday calendar of Stockholm, Sweden, with code 'SEST'.static HolidayCalendarIdHolidayCalendarIds. THU_FRIAn identifier for a calendar declaring all days as business days except Thursday/Friday weekends, with code 'ThuFri'.static HolidayCalendarIdHolidayCalendarIds. USGSAn identifier for the holiday calendar of United States Government Securities, with code 'USGS'.static HolidayCalendarIdHolidayCalendarIds. USNYAn identifier for the holiday calendar of New York, United States, with code 'USNY'.static HolidayCalendarIdHolidayCalendarIds. ZAJOAn identifier for the holiday calendar of Johannesburg, South Africa, with code 'ZAJO'.Methods in com.opengamma.strata.basics.date that return HolidayCalendarId Modifier and Type Method Description HolidayCalendarIdHolidayCalendarId. combinedWith(HolidayCalendarId other)Combines this holiday calendar identifier with another.static HolidayCalendarIdHolidayCalendarId. defaultByCurrency(Currency currency)Gets the default calendar for a currency.static HolidayCalendarIdHolidayCalendarId. defaultByCurrencyPair(CurrencyPair currencyPair)Gets the default calendar for a pair of currencies.HolidayCalendarIdBusinessDayAdjustment. getCalendar()Gets the calendar that defines holidays and business days.HolidayCalendarIdDaysAdjustment. getCalendar()Gets the holiday calendar that defines the meaning of a day when performing the addition.HolidayCalendarIdHolidayCalendar. getId()Gets the identifier for the calendar.HolidayCalendarIdImmutableHolidayCalendar. getId()Gets the identifier, such as 'GBLO'.HolidayCalendarIdDaysAdjustment. getResultCalendar()Gets the holiday calendar that will be applied to the result.HolidayCalendarIdHolidayCalendarId. linkedWith(HolidayCalendarId other)Combines this holiday calendar identifier with another.static HolidayCalendarIdHolidayCalendarId. 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 HolidayCalendarId Modifier and Type Method Description org.joda.beans.MetaProperty<HolidayCalendarId>BusinessDayAdjustment.Meta. calendar()The meta-property for thecalendarproperty.org.joda.beans.MetaProperty<HolidayCalendarId>DaysAdjustment.Meta. calendar()The meta-property for thecalendarproperty.static Optional<HolidayCalendarId>HolidayCalendarId. findDefaultByCurrency(Currency currency)Tries to find a default calendar for a currency.org.joda.beans.MetaProperty<HolidayCalendarId>ImmutableHolidayCalendar.Meta. id()The meta-property for theidproperty.Methods in com.opengamma.strata.basics.date with parameters of type HolidayCalendarId Modifier and Type Method Description BusinessDayAdjustment.BuilderBusinessDayAdjustment.Builder. calendar(HolidayCalendarId calendar)Sets the calendar that defines holidays and business days.DaysAdjustment.BuilderDaysAdjustment.Builder. calendar(HolidayCalendarId calendar)Sets the holiday calendar that defines the meaning of a day when performing the addition.HolidayCalendarIdHolidayCalendarId. combinedWith(HolidayCalendarId other)Combines this holiday calendar identifier with another.static booleanHolidayCalendarId. isCompositeCalendar(HolidayCalendarId id)Checks if the holiday calendar is a combined or linked calendar.HolidayCalendarIdHolidayCalendarId. linkedWith(HolidayCalendarId other)Combines this holiday calendar identifier with another.static BusinessDayAdjustmentBusinessDayAdjustment. of(BusinessDayConvention convention, HolidayCalendarId calendar)Obtains an instance using the specified convention and calendar.static ImmutableHolidayCalendarImmutableHolidayCalendar. of(HolidayCalendarId id, Iterable<LocalDate> holidays, Iterable<DayOfWeek> weekendDays)Obtains an instance from a set of holiday dates and weekend days.static ImmutableHolidayCalendarImmutableHolidayCalendar. of(HolidayCalendarId id, Iterable<LocalDate> holidays, Iterable<DayOfWeek> weekendDays, Iterable<LocalDate> workingDays)Obtains an instance from a set of holiday dates and weekend days.static ImmutableHolidayCalendarImmutableHolidayCalendar. of(HolidayCalendarId id, Iterable<LocalDate> holidays, DayOfWeek firstWeekendDay, DayOfWeek secondWeekendDay)Obtains an instance from a set of holiday dates and weekend days.static DayCountDayCount. ofBus252(HolidayCalendarId calendar)Obtains an instance of the 'Bus/252' day count based on a specific calendar.static DaysAdjustmentDaysAdjustment. ofBusinessDays(int numberOfDays, HolidayCalendarId holidayCalendar)Obtains an instance that can adjust a date by a specific number of business days.static DaysAdjustmentDaysAdjustment. ofBusinessDays(int numberOfDays, HolidayCalendarId holidayCalendar, BusinessDayAdjustment adjustment)Obtains an instance that can adjust a date by a specific number of business days. -
Uses of HolidayCalendarId in com.opengamma.strata.basics.index
Methods in com.opengamma.strata.basics.index that return HolidayCalendarId Modifier and Type Method Description HolidayCalendarIdFxIndex. getFixingCalendar()Gets the calendar that determines which dates are fixing dates.HolidayCalendarIdImmutableFxIndex. getFixingCalendar()Gets the calendar that determines which dates are fixing dates.HolidayCalendarIdImmutableIborIndex. getFixingCalendar()Gets the calendar that determines which dates are fixing dates.HolidayCalendarIdImmutableOvernightIndex. getFixingCalendar()Gets the calendar that the index uses.HolidayCalendarIdRateIndex. getFixingCalendar()Gets the calendar that determines which dates are fixing dates.Methods in com.opengamma.strata.basics.index that return types with arguments of type HolidayCalendarId Modifier and Type Method Description org.joda.beans.MetaProperty<HolidayCalendarId>ImmutableFxIndex.Meta. fixingCalendar()The meta-property for thefixingCalendarproperty.org.joda.beans.MetaProperty<HolidayCalendarId>ImmutableIborIndex.Meta. fixingCalendar()The meta-property for thefixingCalendarproperty.org.joda.beans.MetaProperty<HolidayCalendarId>ImmutableOvernightIndex.Meta. fixingCalendar()The meta-property for thefixingCalendarproperty.Methods in com.opengamma.strata.basics.index with parameters of type HolidayCalendarId Modifier and Type Method Description ImmutableFxIndex.BuilderImmutableFxIndex.Builder. fixingCalendar(HolidayCalendarId fixingCalendar)Sets the calendar that determines which dates are fixing dates.ImmutableIborIndex.BuilderImmutableIborIndex.Builder. fixingCalendar(HolidayCalendarId fixingCalendar)Sets the calendar that determines which dates are fixing dates.ImmutableOvernightIndex.BuilderImmutableOvernightIndex.Builder. fixingCalendar(HolidayCalendarId fixingCalendar)Sets the calendar that the index uses. -
Uses of HolidayCalendarId in com.opengamma.strata.loader.fpml
Methods in com.opengamma.strata.loader.fpml that return HolidayCalendarId Modifier and Type Method Description HolidayCalendarIdFpmlDocument. convertHolidayCalendar(String fpmlBusinessCenter)Converts an FpML business center string to aHolidayCalendar.HolidayCalendarIdFpmlDocument. parseBusinessCenter(XmlElement baseEl)Converts an FpML 'BusinessCenter' to aHolidayCalendar.HolidayCalendarIdFpmlDocument. parseBusinessCenters(XmlElement baseEl)Converts an FpML 'BusinessCentersOrReference.model' to aHolidayCalendar. -
Uses of HolidayCalendarId in com.opengamma.strata.product.credit
Methods in com.opengamma.strata.product.credit with parameters of type HolidayCalendarId Modifier and Type Method Description static CdsCds. of(BuySell buySell, StandardId legalEntityId, Currency currency, double notional, LocalDate startDate, LocalDate endDate, Frequency paymentFrequency, HolidayCalendarId calendar, double fixedRate)Creates an instance of a standardized CDS.static CdsIndexCdsIndex. of(BuySell buySell, StandardId cdsIndexId, List<StandardId> legalEntityIds, Currency currency, double notional, LocalDate startDate, LocalDate endDate, Frequency paymentFrequency, HolidayCalendarId calendar, double fixedRate)Creates an instance of a standardized CDS index.
-