public interface IDateFormat2 extends IDateFormat, java.io.Serializable
Description: 'Provides access to members that format date time.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IID1514c0e1_d8b4_4496_b5fe_ef2085308edc |
static int |
xxDummy
Deprecated.
Internal use only
|
IID9fa0d58f_3fc7_45b4_95a3_db8961ed6e00
Modifier and Type | Method and Description |
---|---|
boolean |
isHighPrecision()
Sets a value indicating if the date is high precision and should display milliseconds when no format string is provided.
|
boolean |
isTimeOnly()
Indicates if formatted date time contains time only.
|
void |
setIsHighPrecision(boolean pIsHighPrecision)
Sets a value indicating if the date is high precision and should display milliseconds when no format string is provided.
|
void |
setTimeOnly(boolean timeOnly)
Indicates if formatted date time contains time only.
|
java.lang.String |
timestampOffsetToString(double timeStamp,
short offsetInMinutes)
Converts a timestamp with offset to a formatted string.
|
fromOADate, getCalendar, getFormat, getLocale, setCalendar, setFormat, setLocale, toOADate
static final int IID1514c0e1_d8b4_4496_b5fe_ef2085308edc
static final int xxDummy
static final java.lang.String IID
void setTimeOnly(boolean timeOnly) throws java.io.IOException, AutomationException
timeOnly
- The timeOnly (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean isTimeOnly() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.String timestampOffsetToString(double timeStamp, short offsetInMinutes) throws java.io.IOException, AutomationException
timeStamp
- The timeStamp (in)offsetInMinutes
- The offsetInMinutes (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setIsHighPrecision(boolean pIsHighPrecision) throws java.io.IOException, AutomationException
pIsHighPrecision
- The pIsHighPrecision (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean isHighPrecision() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.