public class Year extends DateAndTimeComponent
Constructor and Description |
---|
Year(int value) |
Year(TableElement tableElement,
String pattern) |
Modifier and Type | Method and Description |
---|---|
int |
getGregorianCalendarField()
Returns the corresponding Gregorian calendar field
for this component
|
MissingComponentPanel |
getMissingComponentPanel(Combination c)
returns a panel to complete the component
in case it is missing
|
String |
toString() |
getParsedValue, getTableElement, getValue, mark, parse, setTableElement, setValue
public Year(TableElement tableElement, String pattern)
public Year(int value)
public int getGregorianCalendarField()
DateAndTimeComponent
getGregorianCalendarField
in class DateAndTimeComponent
public String toString()
toString
in class DateAndTimeComponent
public MissingComponentPanel getMissingComponentPanel(Combination c)
Component
getMissingComponentPanel
in class Component
Copyright © 2011–2019 52°North. All rights reserved.