|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDateTimeFieldFormat
This interface describes how a DateTime value shown by a FieldObject
object should be formatted if the
FieldObject
object is being used to display dates and/or times. To access this object,
use the following method:
If the field is not being used to represent a DateTime
value, and you modify this object, your changes will be ignored and discarded.
FieldFormat fieldFormat = fieldObject.getFieldFormat();
IDateTimeFieldFormat dateTimeFormat = fieldFormat.getDateTimeFormat();
Method Summary | |
---|---|
DateTimeFieldFormatConditionFormulas |
getConditionFormulas()
Returns the condition formulas used to override the date field's format settings. |
DateTimeOrder |
getDateTimeOrder()
Returns the order in which the elements of DateTime field appear. |
java.lang.String |
getDateTimeSeparator()
Returns the separator between the date and time. |
void |
setConditionFormulas(DateTimeFieldFormatConditionFormulas conditionFormulas)
Sets the condition formulas used to override the date field's format settings. |
void |
setDateTimeOrder(DateTimeOrder dateTimeOrder)
Sets the order in which the elements of DateTime field appear. |
void |
setDateTimeSeparator(java.lang.String dateTimeSeparator)
Sets the separator between the date and time. |
Method Detail |
---|
DateTimeFieldFormatConditionFormulas getConditionFormulas()
Returns the condition formulas used to override the date field's format settings.
DateTimeFieldFormatConditionFormulas
object containing the condition formulas
used to override the date field's format settings.DateTimeOrder getDateTimeOrder()
Returns the order in which the elements of DateTime field appear.
DateTimeOrder
object that specifies the order in which the elements
of DateTime field appear.java.lang.String getDateTimeSeparator()
Returns the separator between the date and time.
String
containing the separator between the date and time.void setConditionFormulas(DateTimeFieldFormatConditionFormulas conditionFormulas)
Sets the condition formulas used to override the date field's format settings.
conditionFormulas
- A DateTimeFieldFormatConditionFormulas
object containing the condition formulas
used to override the date field's format settings.void setDateTimeOrder(DateTimeOrder dateTimeOrder)
Sets the order in which the elements of DateTime field appear.
dateTimeOrder
- A DateTimeOrder
object that specifies the order in which the elements
of DateTime field appear.void setDateTimeSeparator(java.lang.String dateTimeSeparator)
Sets the separator between the date and time.
dateTimeSeparator
- A String
containing the separator between the date and time.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |