org.smallmind.wicket.component.google.visualization
Class DateTimeValue

java.lang.Object
  extended by org.smallmind.wicket.component.google.visualization.Value
      extended by org.smallmind.wicket.component.google.visualization.TimeBasedValue
          extended by org.smallmind.wicket.component.google.visualization.DateTimeValue
All Implemented Interfaces:
Comparable<Value>

public class DateTimeValue
extends TimeBasedValue


Method Summary
static DateTimeValue asNull()
           
static DateTimeValue create(Date date)
           
static DateTimeValue create(long milliseconds)
           
static DateTimeValue create(Long milliseconds)
           
 String forScript()
           
 int getDay()
           
 int getHour()
           
 int getMillisecond()
           
 int getMinute()
           
 int getMonth()
           
 int getSecond()
           
 ValueType getType()
           
 int getYear()
           
 
Methods inherited from class org.smallmind.wicket.component.google.visualization.TimeBasedValue
compareTo, getInstant, isNull, toString
 
Methods inherited from class org.smallmind.wicket.component.google.visualization.Value
equals
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

asNull

public static DateTimeValue asNull()

create

public static DateTimeValue create(long milliseconds)

create

public static DateTimeValue create(Long milliseconds)

create

public static DateTimeValue create(Date date)

getType

public ValueType getType()
Specified by:
getType in class Value

getYear

public int getYear()

getMonth

public int getMonth()

getDay

public int getDay()

getHour

public int getHour()

getMinute

public int getMinute()

getSecond

public int getSecond()

getMillisecond

public int getMillisecond()

forScript

public String forScript()
Specified by:
forScript in class Value


Copyright © 2012. All Rights Reserved.