public class OADateTime extends Object implements Serializable, Comparable
Formatting: MM/dd HH:mm:ss MM/dd/yy HH:mm:ss MM/dd/yyyy HH:mm:ss 'Hms', 'Mdy' yyyyMMdd_HHmmss.SSS hhmmssa JSON / XML format – ISO 8601 2014-03-12T13:37:27+00:00 "yyyy-MM-dd'T'HH:mm:ssZ" also... "yyyy-MM-dd'T'HH:mm:sszzz" yyyy-MM-dd'T'HH:mm:ssX Notice the X on the end. It will handle timezones in ISO 8601 standard see: http://stackoverflow.com/questions/19112357/java-simpledateformatyyyy-mm-ddthhmmssz-gives-timezone-as-ist ex: 2016-11-22T08:49:02-05 yyyy-MM-dd'T'HH:mm:ssXX ex: 2016-11-22T08:50:12-0500 yyyy-MM-dd'T'HH:mm:ssXXX ex: 2016-11-22T08:49:02-05:00 javascript Date.toString() EEE MMM dd yyyy '00:00:00' 'GMT'Z '('z')' XSD dateTime [-]CCYY-MM-DDThh:mm:ss[Z|(+|-)hh:mm] The time zone may be specified as Z (UTC) or (+|-)hh:mm. Time zones that aren't specified are considered undetermined. => yyyy-MM-dd'T'HH:mm:ss -> 2001-10-26T21:32:52 => yyyy-MM-dd'T'HH:mm:ssXXX -> 2001-10-26T21:32:52+02:00 => yyyy-MM-dd'T'HH:mm:ss'Z' -> 2001-10-26T19:32:52Z (UTZ)Formatting Symbols used for output display. SEE: https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html G era designator (Text) AD y year (Number) 1996 M month in year (Number) 1, 2, 3, 4 .. 10, 11, 12 MM (Number) 01, 02, 03, 04 ... 10, 11, 12 MMM (Text) Jan, Feb, ... Dec MMMM (Text) January, February, ... December d day in month (Number) 10 h hour in am/pm (1~12) (Number) 12 H hour in day (0~23) (Number) 0 m minute in hour (Number) 30 s second in minute (Number) 55 S millisecond (Number) 978 E day in week (Text) Tues EE EEE EEEE day in week (Text) Tuesday D day in year (Number) 189 F day of week in month (Number) 2 (2nd Wed in July) w week in year (Number) 27 W week in month (Number) 2 a am/pm marker (Text) PM k hour in day (1~24) (Number) 24 K hour in am/pm (0~11) (Number) 0 z time zone (Text) PST (might not use Abbrev anymore, andthis would be offset amount instead) zzzz Pacific Standard Time zz (UTC offset) -05 X (hours) -04 XX (hrsMins) -0400 XXX (hrs:mins) -04:00 Z (hrsMins) -0400 ZZ (same as using Z) -0400 ZZZ (same as using Z) -0400 ' escape for text (Delimiter) '' single quote (Literal) ' Examples: "yyyy.MM.dd G 'at' HH:mm:ss z" ->> 1996.07.10 AD at 15:08:56 PDT "EEE, MMM d, ''yy" ->> Wed, July 10, '96 "h:mm a" ->> 12:08 PM "hh 'o''clock' a, zzzz" ->> 12 o'clock PM, Pacific Daylight Time "K:mm a, z" ->> 0:00 PM, PST "yyyy.MMMMM.dd GGG hh:mm aaa" ->> 1996.July.10 AD 12:08 PM "yyyy.MM.dd HH:mm:ss.SSS" "E dd M yyyy hh:mm:ss a z" ->> Thu 30 3 2017 11:58:21 AM EDT "EE dd MM yyyy hh:mm:ss a zz" ->> Thu 30 03 2017 11:58:52 AM EDT "EEE dd MMM yyyy hh:mm:ss a zzz" ->> Thu 30 Mar 2017 11:59:35 AM EDT "EEEE dd MMMM yyyy hh:mm:ss a zzzz" ->> Thursday 30 March 2017 12:00:33 PM Eastern Daylight Time
Modifier and Type | Field and Description |
---|---|
protected long |
_time |
static int |
APR |
static int |
APRIL |
static int |
AUG |
static int |
AUGUST |
static int |
DEC |
static int |
DECEMBER |
static int |
FEB |
static int |
FEBRUARY |
protected String |
format |
static String |
FORMAT_long |
static String |
FORMAT_xlong |
static int |
FRI |
static int |
FRIDAY |
protected boolean |
ignoreTimeZone |
static int |
JAN |
static int |
JANUARY |
static String |
JdbcFormat |
static String |
JsonFormat |
static String |
JsonFormatTZ |
static int |
JUL |
static int |
JULY |
static int |
JUN |
static int |
JUNE |
static int |
MAR |
static int |
MARCH |
static int |
MAY |
static int |
MON |
static int |
MONDAY |
static int |
NOV |
static int |
NOVEMBER |
static int |
OCT |
static int |
OCTOBER |
static String |
RFC339Format |
static String |
RFC339FormatWms |
static int |
SAT |
static int |
SATURDAY |
static int |
SEP |
static int |
SEPT |
static int |
SEPTEMBER |
protected static String |
staticOutputFormat
default output format
|
static int |
SUN |
static int |
SUNDAY |
static int |
THU |
static int |
THURS |
static int |
THURSDAY |
protected TimeZone |
timeZone |
static int |
TUE |
static int |
TUES |
static int |
TUESDAY |
static int |
WED |
static int |
WEDNESDAY |
Constructor and Description |
---|
OADateTime()
Creates new datetime, using current date and time.
|
OADateTime(Calendar c)
Creates new datetime, using Calendar parameter.
|
OADateTime(Date date)
Creates new datetime, using date parameter.
|
OADateTime(Instant instant) |
OADateTime(int year,
int month,
int day) |
OADateTime(int year,
int month,
int day,
int hrs,
int mins) |
OADateTime(int year,
int month,
int day,
int hrs,
int mins,
int secs) |
OADateTime(int year,
int month,
int day,
int hrs,
int mins,
int secs,
int milsecs) |
OADateTime(LocalDateTime ldt) |
OADateTime(long time)
Creates new datetime, using date parameter.
|
OADateTime(OADate d,
OATime t)
Creates new datetime, using date and time.
|
OADateTime(OADateTime odt)
Creates new datetime, using OADateTime parameter.
|
OADateTime(String strDate)
Creates new datetime, using String parameter.
|
OADateTime(String strDate,
String format)
Creates new datetime, using String parameter and format.
|
OADateTime(Time time)
Creates new datetime, using time parameter.
|
OADateTime(Timestamp date)
Creates new datetime, using timestamp parameter.
|
OADateTime(ZonedDateTime zdt) |
Modifier and Type | Method and Description |
---|---|
protected GregorianCalendar |
_getCal() |
protected void |
_releaseCal(GregorianCalendar cal) |
OADateTime |
addDay() |
OADateTime |
addDays(int amount)
Return an OADateTime where a specified amount of days is added.
|
static void |
addGlobalParseFormat(String fmt)
Add additional global parse formats that are used when converting a String to OADateTime.
|
OADateTime |
addHours(int amount)
Return an OADateTime where a specified amount of hours is added.
|
OADateTime |
addMilliSeconds(int amount)
Return an OADateTime where a specified amount of milliseconds is added.
|
OADateTime |
addMinutes(int amount)
Return an OADateTime where a specified amount of minutes is added.
|
OADateTime |
addMonths(int amount)
Return an OADateTime where a specified amount of months is added.
|
OADateTime |
addSeconds(int amount)
Return an OADateTime where a specified amount of seconds is added.
|
OADateTime |
addWeeks(int amount)
Return an OADateTime where a specified amount of weeks added.
|
OADateTime |
addYears(int amount)
Return an OADateTime where a specified amount of years is added.
|
boolean |
after(Object obj)
Compares this OADateTime with any object.
|
boolean |
before(Object obj)
Compares this OADateTime with any object.
|
int |
betweenDays(Object obj)
Returns the number of days between this OADateTime and obj.
|
int |
betweenHours(Object obj)
Returns the number of hours betweeen this OADateTime and obj.
|
long |
betweenMilliSeconds(Object obj)
Returns the number of seconds betweeen this OADateTime and obj.
|
int |
betweenMinutes(Object obj)
Returns the number of minutes betweeen this OADateTime and obj.
|
int |
betweenMonths(Object obj)
Returns the number of months betweeen this OADateTime and obj.
|
int |
betweenSeconds(Object obj)
Returns the number of seconds betweeen this OADateTime and obj.
|
int |
betweenYears(Object obj)
Returns the number of years between this OADateTime and obj.
|
void |
clearDate()
sets date to 1/1/1970 (time 0)
|
void |
clearSecondAndMilliSecond() |
void |
clearTime()
Sets hour,minutes and seconds to zero.
|
int |
compare(Object obj) |
int |
compareTo(Object obj)
Compares this object with the specified object for order.
Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. |
protected OADateTime |
convert(Object obj,
boolean bAlways)
Convert an Object to an OADateTime.
|
OADateTime |
convertTo(OATimeZone.TZ tz) |
OADateTime |
convertTo(TimeZone tz)
Convert the current dt to a different tz, which will adjust the (long) time value, affecting (year,month,day,hour) values
Note: for OADate year,month,day(,hour,min..) are not affected, only the timezone
Note: for OATime only hour and timezone are affected.
|
OADateTime |
convertToUTC() |
boolean |
equals(Object obj)
Compares this OADateTime with any object.
|
protected static String |
fixDate(String s)
Internally used to fix a String date.
|
int |
get12Hour() |
int |
get24Hour()
Gets the hour of the day based on 24 hour clock.
|
int |
getAM_PM()
returns Calendar.AM or Calendar.PM
|
Calendar |
getCalendar()
Returns a clone of the calendar used by this object.
|
Date |
getDate()
Returns java.util.Date object that matches this DateTime.
|
int |
getDay() |
int |
getDayOfWeek()
Returns day of week for date.
|
int |
getDayOfYear()
Returns day of year, where Jan 1 is 1.
|
int |
getDaysInMonth()
Returns number of days in this month.
|
static TimeZone |
getDefaultTimeZone() |
int |
getFirstWeekDayOfMonth(int weekday) |
String |
getFormat()
get format to use for this OADateTime
|
static String |
getFormat(int type)
Returns the format string to use for system format.
|
static String |
getFormat(int type,
Locale locale)
Returns the format string to use for system format.
|
protected static SimpleDateFormat |
getFormatter() |
static String |
getGlobalOutputFormat()
Gets the default global format used when converting OADateTime to String.
|
int |
getHour()
Gets the hour of the day based on 24 hour clock.
|
boolean |
getIgnoreTimeZone() |
Instant |
getInstant() |
int |
getLastWeekDayOfMonth(int weekday) |
LocalDateTime |
getLocalDateTime() |
int |
getMilliSecond()
Return value of milliseconds.
|
int |
getMinute()
Return value of minutes.
|
int |
getMonth()
Get month, values between 0-11.
|
int |
getQuarter()
returns quarter from 0-3
|
int |
getSecond()
Return value of seconds.
|
long |
getTime()
Time as milliseconds, same as Date.getTime()
|
TimeZone |
getTimeZone() |
int |
getWeekOfMonth()
Returns the number of the week within the month, where first week is 1.
|
int |
getWeekOfYear()
Returns number week within the year, where first week is 1.
|
int |
getYear()
Returns year.
|
ZonedDateTime |
getZonedDateTime() |
int |
hashCode() |
boolean |
isAfter(Object obj) |
boolean |
isBefore(Object obj)
Compares this OADateTime with any object.
|
boolean |
isFirstWeekDayOfMonth(int weekday) |
boolean |
isLastDayOfMonth() |
boolean |
isLastWeekDayOfMonth(int weekday) |
static void |
main(String[] args) |
static void |
main2(String[] args) |
static void |
removeAllGlobalParseFormats()
Remove a all globally used parse format.
|
static void |
removeGlobalParseFormat(String fmt)
Remove a global parse format.
|
void |
set12Hour(int hr) |
void |
set24Hour(int hr)
Sets the hour of the day based on 24 hour clock.
|
void |
setAM_PM(int ap)
Calendar.AM or Calendar.PM
|
protected void |
setCalendar(Date date) |
protected void |
setCalendar(GregorianCalendar c) |
protected void |
setCalendar(int year,
int month,
int day,
int hrs,
int mins,
int secs,
int milsecs) |
protected void |
setCalendar(OADateTime dt) |
protected void |
setCalendar(String strDate) |
protected void |
setCalendar(String strDate,
String fmt) |
protected void |
setCalendar(Time time) |
protected void |
setCalendar(Timestamp date) |
void |
setDate(int yr,
int m,
int d)
Sets year (ex: 2017), month (0-11), and day (1-31).
|
void |
setDate(OADate d) |
void |
setDay(int d)
Set the day of month, 1-31.
|
static void |
setDefaultTimeZone(TimeZone tz) |
void |
setFormat(String fmt)
Set format to use for this OADateTime This format will be used when converting this datetime to a String, unless a format is
specified when calling toString.
|
static void |
setGlobalOutputFormat(String fmt)
Sets the default global format used when converting OADateTime to String.
|
void |
setHour(int hr)
Sets the hour of the day based on 24 hour clock.
|
void |
setIgnoreTimeZone(boolean b) |
static void |
setLocale(Locale loc) |
void |
setMilliSecond(int ms)
Sets value for milliseconds.
|
void |
setMinute(int mins)
Set value for minutes.
|
void |
setMonth(int month)
Set month, values between 0-11.
|
void |
setSecond(int s)
Sets value for seconds.
|
void |
setTime(int hr,
int m)
Sets time.
|
void |
setTime(int hr,
int m,
int s)
Sets time.
|
void |
setTime(int hr,
int m,
int s,
int ms)
Sets hour,minutes,seconds and milliseconds.
|
void |
setTime(OATime t) |
void |
setTimeZone(OATimeZone.TZ tz) |
void |
setTimeZone(TimeZone tz)
Change the tz and keep the same other values (day,month,hour,etc).
|
void |
setTimeZoneUTC() |
void |
setYear(int y)
Sets the year.
|
OADateTime |
subtractDay() |
OADateTime |
subtractDays(int amount) |
OADateTime |
subtractHours(int amount) |
OADateTime |
subtractMilliSeconds(int amount) |
OADateTime |
subtractMinutes(int amount) |
OADateTime |
subtractMonths(int amount) |
OADateTime |
subtractSeconds(int amount) |
OADateTime |
subtractWeeks(int amount) |
OADateTime |
subtractYears(int amount) |
static void |
test(int id) |
String |
toString()
Converts OADateTime to a String using specified formatting String.
Uses the first format that has been set: "format", "staticOutputFormat" else or "yyyy-MMM-dd hh:mma" |
String |
toString(String f)
Converts OADateTime to a String using specified formatting String.
|
protected String |
toStringMain(String format) |
static OADateTime |
valueOf(String strDateTime)
Converts a String date to an OADateTime.
|
static OADateTime |
valueOf(String strDateTime,
String fmt)
Static method for converting a String date to an OADateTime.
If date is " " (space) then todays date will be returned. If date is null or "" then null is returned. |
static OADateTime |
valueOf(String strDateTime,
String fmt,
boolean bTryOtherFormats) |
protected static Date |
valueOfMain(String value,
String inputFormat,
Vector vec,
String outputFormat) |
public static final String FORMAT_long
public static final String FORMAT_xlong
protected long _time
protected TimeZone timeZone
protected boolean ignoreTimeZone
protected String format
public static final String RFC339Format
public static final String RFC339FormatWms
protected static String staticOutputFormat
public static final String JsonFormat
public static final String JsonFormatTZ
public static final String JdbcFormat
public static final int SUNDAY
public static final int SUN
public static final int MONDAY
public static final int MON
public static final int TUESDAY
public static final int TUES
public static final int TUE
public static final int WEDNESDAY
public static final int WED
public static final int THURSDAY
public static final int THURS
public static final int THU
public static final int FRIDAY
public static final int FRI
public static final int SATURDAY
public static final int SAT
public static final int JANUARY
public static final int JAN
public static final int FEBRUARY
public static final int FEB
public static final int MARCH
public static final int MAR
public static final int APRIL
public static final int APR
public static final int MAY
public static final int JUNE
public static final int JUN
public static final int JULY
public static final int JUL
public static final int AUGUST
public static final int AUG
public static final int SEPTEMBER
public static final int SEPT
public static final int SEP
public static final int OCTOBER
public static final int OCT
public static final int NOVEMBER
public static final int NOV
public static final int DECEMBER
public static final int DEC
public OADateTime()
public OADateTime(Time time)
public OADateTime(Date date)
public OADateTime(long time)
public OADateTime(Timestamp date)
public OADateTime(Calendar c)
public OADateTime(OADateTime odt)
public OADateTime(LocalDateTime ldt)
public OADateTime(Instant instant)
public OADateTime(ZonedDateTime zdt)
public OADateTime(String strDate)
valueOf(String)
public OADateTime(String strDate, String format)
valueOf(String)
public OADateTime(int year, int month, int day)
year
- full year (not year minus 1900 like Date)month
- 0-11day
- day of the month 1-31public OADateTime(int year, int month, int day, int hrs, int mins)
public OADateTime(int year, int month, int day, int hrs, int mins, int secs)
public OADateTime(int year, int month, int day, int hrs, int mins, int secs, int milsecs)
year
- full year (not year minus 1900 like Date)month
- 0-11day
- day of the monthpublic static void setDefaultTimeZone(TimeZone tz)
public static TimeZone getDefaultTimeZone()
protected GregorianCalendar _getCal()
protected void _releaseCal(GregorianCalendar cal)
public static void setLocale(Locale loc)
public LocalDateTime getLocalDateTime()
public ZonedDateTime getZonedDateTime()
public Instant getInstant()
public Calendar getCalendar()
protected void setCalendar(int year, int month, int day, int hrs, int mins, int secs, int milsecs)
protected void setCalendar(GregorianCalendar c)
protected void setCalendar(Timestamp date)
protected void setCalendar(Date date)
protected void setCalendar(Time time)
protected void setCalendar(OADateTime dt)
protected void setCalendar(String strDate)
public void clearTime()
public void clearDate()
public void setTime(int hr, int m)
setTime
public void setTime(int hr, int m, int s)
setTime
public void setTime(int hr, int m, int s, int ms)
public void setTime(OATime t)
public void setDate(int yr, int m, int d)
public void setDate(OADate d)
public int getYear()
public void setYear(int y)
public int getMonth()
public int getQuarter()
public void setMonth(int month)
month
- must be between 0-11.public int getDay()
public void setDay(int d)
public void setTimeZoneUTC()
public void setTimeZone(OATimeZone.TZ tz)
public void setTimeZone(TimeZone tz)
public TimeZone getTimeZone()
OATimeZone
public int getHour()
get12Hour()
,
get24Hour()
,
getAM_PM()
public void setHour(int hr)
hr
- is the Hour 0-12setAM_PM(int)
,
set12Hour(int)
,
set24Hour(int)
public int get12Hour()
public void set12Hour(int hr)
public int get24Hour()
setAM_PM(int)
,
setHour(int)
public void set24Hour(int hr)
hr
- is the Hour 0-23setAM_PM(int)
,
setHour(int)
public int getAM_PM()
public void setAM_PM(int ap)
public int getMinute()
public void setMinute(int mins)
public int getSecond()
public void setSecond(int s)
public void clearSecondAndMilliSecond()
public int getMilliSecond()
public void setMilliSecond(int ms)
public Date getDate()
public int getDayOfWeek()
Calendar
public int getDayOfYear()
public int getWeekOfMonth()
public int getWeekOfYear()
public int getDaysInMonth()
public boolean equals(Object obj)
equals
in class Object
obj
- Date, OADate, Calendar, String, etc.compareTo(java.lang.Object)
public boolean before(Object obj)
obj
- Date, OADate, Calendar, String, etc.compareTo(java.lang.Object)
public boolean isBefore(Object obj)
obj
- Date, OADate, Calendar, String, etc.compareTo(java.lang.Object)
public boolean after(Object obj)
obj
- Date, OADate, Calendar, String, etc.compareTo(java.lang.Object)
public boolean isAfter(Object obj)
public int compare(Object obj)
public int compareTo(Object obj)
compareTo
in interface Comparable
obj
- Date, OADate, Calendar, Stringpublic OADateTime convertToUTC()
public OADateTime convertTo(TimeZone tz)
public OADateTime convertTo(OATimeZone.TZ tz)
public OADateTime addDays(int amount)
Note: if this is an instanceof OADate or OATime, then the returned object will be the same type.
amount
- number of days to increment/deincrement (negative number).public OADateTime subtractDays(int amount)
public OADateTime addDay()
public OADateTime subtractDay()
public OADateTime addWeeks(int amount)
Note: if this is an instanceof OADate or OATime, then the returned object will be the same type.
amount
- number of weeks to increment/deincrement (negative number).public OADateTime subtractWeeks(int amount)
public OADateTime addMonths(int amount)
Note: if this is an instanceof OADate or OATime, then the returned object will be the same type.
amount
- number of months to increment/deincrement (negative number).public OADateTime subtractMonths(int amount)
public OADateTime addYears(int amount)
Note: if this is an instanceof OADate or OATime, then the returned object will be the same type.
amount
- number of years to increment/deincrement (negative number).public OADateTime subtractYears(int amount)
public OADateTime addHours(int amount)
Note: if this is an instanceof OADate or OATime, then the returned object will be the same type.
amount
- number of hours to increment/deincrement (negative number).public OADateTime subtractHours(int amount)
public OADateTime addMinutes(int amount)
Note: if this is an instanceof OADate or OATime, then the returned object will be the same type.
amount
- number of minutes to increment/deincrement (negative number).public OADateTime subtractMinutes(int amount)
public OADateTime addSeconds(int amount)
Note: if this is an instanceof OADate or OATime, then the returned object will be the same type.
amount
- number of seconds to increment/deincrement (negative number).public OADateTime subtractSeconds(int amount)
public OADateTime addMilliSeconds(int amount)
Note: if this is an instanceof OADate or OATime, then the returned object will be the same type.
amount
- number of milliseconds to increment/deincrement (negative number).public OADateTime subtractMilliSeconds(int amount)
public int betweenYears(Object obj)
obj
- Date, OADateTime, Calendar, etc that can be converted to an OADateTime.public int betweenMonths(Object obj)
obj
- Date, OADateTime, Calendar, etc that can be converted to an OADateTime.public int betweenDays(Object obj)
obj
- Date, OADateTime, Calendar, etc that can be converted to an OADateTime.public int betweenHours(Object obj)
obj
- Date, OADateTime, Calendar, etc that can be converted to an OADateTime.public int betweenMinutes(Object obj)
obj
- Date, OADateTime, Calendar, etc that can be converted to an OADateTime.public int betweenSeconds(Object obj)
obj
- Date, OADateTime, Calendar, etc that can be converted to an OADateTime.public long betweenMilliSeconds(Object obj)
obj
- Date, OADateTime, Calendar, etc that can be converted to an OADateTime.public long getTime()
protected OADateTime convert(Object obj, boolean bAlways)
public static OADateTime valueOf(String strDateTime, String fmt)
fmt
- format of date. If not valid, then staticParseFormats and staticOutputFormat will be used.setFormat(java.lang.String)
,
to convert a string using global parse strings
public static OADateTime valueOf(String strDateTime, String fmt, boolean bTryOtherFormats)
public static OADateTime valueOf(String strDateTime)
setFormat(java.lang.String)
,
setGlobalOutputFormat(java.lang.String)
,
see #getGlobalParseFormats
,
valueOf(String,String)
protected static Date valueOfMain(String value, String inputFormat, Vector vec, String outputFormat)
public String toString()
public String toString(String f)
f
- is format to applypublic static void setGlobalOutputFormat(String fmt)
setFormat(java.lang.String)
public static String getGlobalOutputFormat()
setFormat(java.lang.String)
public static void addGlobalParseFormat(String fmt)
setFormat(java.lang.String)
public static void removeGlobalParseFormat(String fmt)
addGlobalParseFormat
public static void removeAllGlobalParseFormats()
addGlobalParseFormat
public void setFormat(String fmt)
OADateTime
,
toString()
public String getFormat()
OADateTime
protected static SimpleDateFormat getFormatter()
public static String getFormat(int type)
type
- DateFormat.SHORT, MEDIUM, LONG, FULL, DEFAULTpublic static String getFormat(int type, Locale locale)
type
- DateFormat.SHORT, MEDIUM, LONG, FULL, DEFAULTpublic boolean isLastDayOfMonth()
public boolean isFirstWeekDayOfMonth(int weekday)
public boolean isLastWeekDayOfMonth(int weekday)
public int getLastWeekDayOfMonth(int weekday)
public int getFirstWeekDayOfMonth(int weekday)
public void setIgnoreTimeZone(boolean b)
public boolean getIgnoreTimeZone()
public static void test(int id)
Copyright © 1999–2025 ViaOA. All rights reserved.