public abstract class LetoPeriodTypeBase extends java.lang.Object implements LetoPeriodType
Constructor and Description |
---|
LetoPeriodTypeBase() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getDescription(java.util.Locale locale)
Longer human readable description of the period type.
|
abstract java.lang.String |
getName(java.util.Locale locale)
The name of the period type.
|
abstract LetoPeriodStructure[] |
getPossibleStructures()
Return the possible structures for this period type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getDescriptionTranslations, getName, getNameTranslations
public abstract java.lang.String getDescription(java.util.Locale locale)
LetoPeriodType
getDescription
in interface LetoPeriodType
locale
- The localization to be used.public abstract java.lang.String getName(java.util.Locale locale)
LetoPeriodType
getName
in interface LetoPeriodType
locale
- The localization to be used.public abstract LetoPeriodStructure[] getPossibleStructures()
LetoPeriodType
Number | Duration in days | Description |
1-st | duration - 28 days | February in non leap year |
2-nd | duration - 29 days | February in a leap year |
3-rd | duration - 30 days | April, June, September, November |
4-th | duration - 31 days | January, March, May, July, August, October, December |
getPossibleStructures
in interface LetoPeriodType