sdtdate-ag凯发旗舰厅
com.spire.doc.documents
class sdtdate
java.lang.object
com.spire.doc.documents.sdtcontrolproperties
com.spire.doc.documents.sdtdate
public class sdtdate
- extends sdtcontrolproperties
specifies that the sdt shall be a date picker when displayed in the document.
constructor summary |
sdtdate()
initializes a new instance of the sdtdate class |
method summary |
calendartype |
getcalendartype()
date picker calendar type, specifies the calendar which shall be displayed for the current date picker structured document
tag, if a user interface is present for the structured document tag. |
java.lang.string |
getdateformat()
the element specifies the display format which shall be used to format any date entered into the parent
structured document tag in full datetime format [example: through a user interface (a date picker), or through
custom xml data associated with this structured document tag via the element end
example] before displaying it in the structured document tag's run content. |
java.util.date |
getfulldate()
specifies the full date and time last entered into the parent structured document tag
using the standard xml schema datetime syntax. |
int |
getlid()
this element specifies the language id which shall be used for displaying a calendar for the current date picker
structured document tag, if a user interface is present for the sdt. |
void |
setcalendartype(calendartype value)
|
void |
setdateformat(java.lang.string value)
|
void |
setfulldate(java.util.date date)
|
void |
setlid(int value)
|
sdtdate
public sdtdate()
- initializes a new instance of the
sdtdate
class
getlid
public int getlid()
- this element specifies the language id which shall be used for displaying a calendar for the current date picker
structured document tag, if a user interface is present for the sdt.
if this element is omitted, then the language id shall be the language id of the run contents of the parent
structured document tag.
- returns:
- int
setlid
public void setlid(int value)
getdateformat
public java.lang.string getdateformat()
- the element specifies the display format which shall be used to format any date entered into the parent
structured document tag in full datetime format [example: through a user interface (a date picker), or through
custom xml data associated with this structured document tag via the element end
example] before displaying it in the structured document tag's run content.
if this element is omitted, then the date shall be formatted using the standard date display mask for the
language id specified on the "lid" element if present, or the language id of the run contents
otherwise.
- returns:
- string
setdateformat
public void setdateformat(java.lang.string value)
getcalendartype
public calendartype getcalendartype()
- date picker calendar type, specifies the calendar which shall be displayed for the current date picker structured document
tag, if a user interface is present for the structured document tag.
- returns:
- calendartype
setcalendartype
public void setcalendartype(calendartype value)
getfulldate
public java.util.date getfulldate()
- specifies the full date and time last entered into the parent structured document tag
using the standard xml schema datetime syntax.
- returns:
- datetime
setfulldate
public void setfulldate(java.util.date date)