C# Class Hyena.Query.RelativeTimeSpanQueryValue

Inheritance: TimeSpanQueryValue
ファイルを表示 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_oe static_oe property

public static Operator,Hyena.Query GreaterThan
return Operator

GreaterThanEqual public_oe static_oe property

public static Operator,Hyena.Query GreaterThanEqual
return Operator

LessThan public_oe static_oe property

public static Operator,Hyena.Query LessThan
return Operator

LessThanEqual public_oe static_oe property

public static Operator,Hyena.Query LessThanEqual
return Operator

operators protected_oe static_oe property

protected static AliasedObjectSet operators
return AliasedObjectSet