com.steema.teechart
Class DateTime
java.lang.Object
DateField
com.steema.teechart.DateTime
public final class DateTime
- extends DateField
Title: DateTime class
Description:
Copyright (c) 2005-2012 by Steema Software SL. All Rights
Reserved.
Company: Steema Software SL
Based on millisecond atomic level
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MINVALUE
public static final long MINVALUE
- See Also:
- Constant Field Values
DateTime
public DateTime(double value)
DateTime
public DateTime(long value)
DateTime
public DateTime(int year,
int month,
int day)
getYear
public int getYear()
getMonth
public int getMonth()
getDay
public int getDay()
getDayOfWeek
public int getDayOfWeek()
getHour
public int getHour()
getMinute
public int getMinute()
getSecond
public int getSecond()
getMillisecond
public int getMillisecond()
getNow
public static DateTime getNow()
toShortTimeString
public java.lang.String toShortTimeString()
toShortDateString
public java.lang.String toShortDateString()
getMinValue
public static DateTime getMinValue()
toString
public java.lang.String toString()
toString
public java.lang.String toString(DateFormat format)
getToday
public static DateTime getToday()
toDouble
public double toDouble()
getDaysInMonth
public static int getDaysInMonth(int year,
int month)
addMonths
public DateTime addMonths(int amount)