C# Class Hyena.Query.RelativeTimeSpanQueryValue

Inheritance: TimeSpanQueryValue
Show file Open project: codebutler/meshwork Class Usage Examples

Public Properties

Property Type Description
GreaterThan Operator
GreaterThanEqual Operator
LessThan Operator
LessThanEqual Operator

Protected Properties

Property Type Description
operators AliasedObjectSet

Public Methods

Method Description
AppendXml ( XmlElement node ) : void
RelativeToNow ( System.DateTime since ) : RelativeTimeSpanQueryValue
SetUserRelativeValue ( double offset, TimeFactor factor ) : void
ToSql ( Operator op ) : string

Protected Methods

Method Description
FactorString ( TimeFactor factor, double count, bool translate ) : string

Method Details

AppendXml() public method

public AppendXml ( XmlElement node ) : void
node System.Xml.XmlElement
return void

FactorString() protected method

protected FactorString ( TimeFactor factor, double count, bool translate ) : string
factor TimeFactor
count double
translate bool
return string

RelativeToNow() public static method

public static RelativeToNow ( System.DateTime since ) : RelativeTimeSpanQueryValue
since System.DateTime
return RelativeTimeSpanQueryValue

SetUserRelativeValue() public method

public SetUserRelativeValue ( double offset, TimeFactor factor ) : void
offset double
factor TimeFactor
return void

ToSql() public method

public ToSql ( Operator op ) : string
op Operator
return string

Property Details

GreaterThan public static property

public static Operator,Hyena.Query GreaterThan
return Operator

GreaterThanEqual public static property

public static Operator,Hyena.Query GreaterThanEqual
return Operator

LessThan public static property

public static Operator,Hyena.Query LessThan
return Operator

LessThanEqual public static property

public static Operator,Hyena.Query LessThanEqual
return Operator

operators protected static property

protected static AliasedObjectSet operators
return AliasedObjectSet