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

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.DateValue
All Implemented Interfaces:
Comparable<Value>

public class DateValue
extends TimeBasedValue


Method Summary
static DateValue asNull()
           
static DateValue create(Date date)
           
static DateValue create(long milliseconds)
           
static DateValue create(Long milliseconds)
           
 String forScript()
           
 int getDay()
           
 int getMonth()
           
 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 DateValue asNull()

create

public static DateValue create(long milliseconds)

create

public static DateValue create(Long milliseconds)

create

public static DateValue 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()

forScript

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


Copyright © 2012. All Rights Reserved.