|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITimeFieldFormat
This interface is used to get and set how the
time format shown by a FieldObject
should be formatted if the FieldObject
is being used to display time. If the field is not being used
to represent a TimeFormat property, and you modify this object,
your changes will be ignored and discarded.
Method Summary | |
---|---|
AMPMFormat |
getAMPMFormat()
Returns the position for AM or PM. |
java.lang.String |
getAMString()
Returns the String
used to identify the time that is between midnight and noon. |
TimeFieldFormatConditionFormulas |
getConditionFormulas()
Returns the condition formulas for the time field format. |
HourFormat |
getHourFormat()
Returns the format for displaying the hour. |
java.lang.String |
getHourMinuteSeparator()
Returns the separator used to separate the hours and minutes. |
MinuteFormat |
getMinuteFormat()
Returns the format for displaying the minutes. |
java.lang.String |
getMinuteSecondSeparator()
Returns the separator used to separate the minutes and seconds. |
java.lang.String |
getPMString()
Returns the String
used to identify the time that is between noon and midnight. |
SecondFormat |
getSecondFormat()
Returns the format for displaying the seconds. |
TimeBase |
getTimeBase()
Returns the time base. |
void |
setAMPMFormat(AMPMFormat aMPMFormat)
Sets the position for AM or PM. |
void |
setAMString(java.lang.String aMString)
Sets the String
used to identify the time that is between midnight and noon. |
void |
setConditionFormulas(TimeFieldFormatConditionFormulas conditionFormulas)
Sets the condition formulas for the time field format. |
void |
setHourFormat(HourFormat hourFormat)
Sets the format for displaying the hour. |
void |
setHourMinuteSeparator(java.lang.String hourMinuteSeparator)
Sets the separator used to separate the hours and minutes. |
void |
setMinuteFormat(MinuteFormat minuteFormat)
Sets the format for displaying the minutes. |
void |
setMinuteSecondSeparator(java.lang.String minuteSecondSeparator)
Sets the separator used to separate the minutes and seconds. |
void |
setPMString(java.lang.String pMString)
Sets the String
used to identify the time that is between noon and midnight. |
void |
setSecondFormat(SecondFormat secondFormat)
Sets the format for displaying the seconds. |
void |
setTimeBase(TimeBase timeBase)
Sets the time base. |
Method Detail |
---|
AMPMFormat getAMPMFormat()
Returns the position for AM or PM.
AMPMFormat
.java.lang.String getAMString()
Returns the String
used to identify the time that is between midnight and noon.
String
.TimeFieldFormatConditionFormulas getConditionFormulas()
Returns the condition formulas for the time field format.
TimeFieldFormatConditionFormulas
.HourFormat getHourFormat()
Returns the format for displaying the hour.
HourFormat
.java.lang.String getHourMinuteSeparator()
Returns the separator used to separate the hours and minutes.
String
.MinuteFormat getMinuteFormat()
Returns the format for displaying the minutes.
MinuteFormat
.java.lang.String getMinuteSecondSeparator()
Returns the separator used to separate the minutes and seconds.
String
.java.lang.String getPMString()
Returns the String
used to identify the time that is between noon and midnight.
String
.SecondFormat getSecondFormat()
Returns the format for displaying the seconds.
SecondFormat
.TimeBase getTimeBase()
Returns the time base. The time base specifies that the time is in either a 12-hour or 24-hour format.
TimeBase
.void setAMPMFormat(AMPMFormat aMPMFormat)
Sets the position for AM or PM.
aMPMFormat
- The AM PM format as an AMPMFormat
.void setAMString(java.lang.String aMString)
Sets the String
used to identify the time that is between midnight and noon.
aMString
- The AM String
.void setConditionFormulas(TimeFieldFormatConditionFormulas conditionFormulas)
Sets the condition formulas for the time field format.
conditionFormulas
- The condition formulas as
TimeFieldFormatConditionFormulas
.void setHourFormat(HourFormat hourFormat)
Sets the format for displaying the hour.
hourFormat
- The hour format as an HourFormat
.void setHourMinuteSeparator(java.lang.String hourMinuteSeparator)
Sets the separator used to separate the hours and minutes.
hourMinuteSeparator
- The separator as a String
.void setMinuteFormat(MinuteFormat minuteFormat)
Sets the format for displaying the minutes.
minuteFormat
- The minute format as a MinuteFormat
.void setMinuteSecondSeparator(java.lang.String minuteSecondSeparator)
Sets the separator used to separate the minutes and seconds.
minuteSecondSeparator
- The separator as a String
.void setPMString(java.lang.String pMString)
Sets the String
used to identify the time that is between noon and midnight.
pMString
- The PM String
.void setSecondFormat(SecondFormat secondFormat)
Sets the format for displaying the seconds.
secondFormat
- The minute format as a SecondFormat
.void setTimeBase(TimeBase timeBase)
Sets the time base. The time base specifies that the time is in either a 12-hour or 24-hour format.
timeBase
- The time base as a TimeBase
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |