public interface IDateFormat
extends 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 |
IID9fa0d58f_3fc7_45b4_95a3_db8961ed6e00 |
static int |
xxDummy
Deprecated.
Internal use only
|
Modifier and Type | Method and Description |
---|---|
void |
fromOADate(double oadate,
int[] year,
int[] month,
int[] day,
int[] hour,
int[] minute,
int[] second,
int[] millisecond,
int[] dayOfWeek)
Convert OADate to date time with the milliseconds preserved.
|
int |
getCalendar()
Calendar used for date time formating.
|
java.lang.String |
getFormat()
Format used to convert date time to string, i.e., yyyy/MM/dd.
|
java.lang.String |
getLocale()
Locale used for date time formating, i.e., en-US, zh-CN, ja-JP.
|
void |
setCalendar(int calendarType)
Calendar used for date time formating.
|
void |
setFormat(java.lang.String format)
Format used to convert date time to string, i.e., yyyy/MM/dd.
|
void |
setLocale(java.lang.String locale)
Locale used for date time formating, i.e., en-US, zh-CN, ja-JP.
|
double |
toOADate(int year,
int month,
int day,
int hour,
int minute,
int second,
int millisecond)
Convert date time to OADate with the milliseconds preserved.
|
static final int IID9fa0d58f_3fc7_45b4_95a3_db8961ed6e00
static final int xxDummy
static final java.lang.String IID
void setFormat(java.lang.String format) throws java.io.IOException, AutomationException
format
- The format (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.String getFormat() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setLocale(java.lang.String locale) throws java.io.IOException, AutomationException
locale
- The locale (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.String getLocale() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setCalendar(int calendarType) throws java.io.IOException, AutomationException
calendarType
- A com.esri.arcgis.system.esriCalendarEnum constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.int getCalendar() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.double toOADate(int year, int month, int day, int hour, int minute, int second, int millisecond) throws java.io.IOException, AutomationException
year
- The year (in)month
- The month (in)day
- The day (in)hour
- The hour (in)minute
- The minute (in)second
- The second (in)millisecond
- The millisecond (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void fromOADate(double oadate, int[] year, int[] month, int[] day, int[] hour, int[] minute, int[] second, int[] millisecond, int[] dayOfWeek) throws java.io.IOException, AutomationException
oadate
- The oadate (in)year
- The year (out: use single element array)month
- The month (out: use single element array)day
- The day (out: use single element array)hour
- The hour (out: use single element array)minute
- The minute (out: use single element array)second
- The second (out: use single element array)millisecond
- The millisecond (out: use single element array)dayOfWeek
- The dayOfWeek (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.