Package com.caplin.motif.fx.calendar
Class SettlementDateSubjectInfo
java.lang.Object
com.caplin.motif.fx.calendar.SettlementDateSubjectInfo
- All Implemented Interfaces:
SubjectInfo
- Direct Known Subclasses:
UserSettlementDateSubjectInfo
A class representing the fields parsed from a settlement date subject.
-
Constructor Summary
ConstructorDescriptionSettlementDateSubjectInfo
(String subject, String currencyPair, String year, String month) Creates a SettlementDateSubjectInfo with the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionReturns the currency pair that was parsed to create this SettlementDateSubjectInfo.getMonth()
Returns the month that was parsed to create this SettlementDateSubjectInfo.Returns the original subject that was parsed to create this SubjectInfogetYear()
Returns the year that was parsed to create this SettlementDateSubjectInfo.
-
Constructor Details
-
SettlementDateSubjectInfo
Creates a SettlementDateSubjectInfo with the given parameters.- Parameters:
subject
- The subject.currencyPair
- The currency pair.year
- The year.month
- The month.
-
-
Method Details
-
getSubject
Description copied from interface:SubjectInfo
Returns the original subject that was parsed to create this SubjectInfo- Specified by:
getSubject
in interfaceSubjectInfo
- Returns:
- The original subject.
-
getCurrencyPair
Returns the currency pair that was parsed to create this SettlementDateSubjectInfo.- Returns:
- The currency pair.
-
getYear
Returns the year that was parsed to create this SettlementDateSubjectInfo.- Returns:
- The year.
-
getMonth
Returns the month that was parsed to create this SettlementDateSubjectInfo.- Returns:
- The month.
-