C# Class Fan.Sys.Duration

Duration
Inheritance: FanObj, Literal
Exibir arquivo Open project: xored/f4 Class Usage Examples

Public Properties

Property Type Description
Zero Duration
m_defVal Duration
m_maxVal Duration
m_minVal Duration
m_negOneDay Duration
m_oneDay Duration
m_oneMin Duration
m_oneSec Duration
m_ticks long

Public Methods

Method Description
@typeof ( ) : Type
Equals ( object obj ) : bool
GetHashCode ( ) : int
abs ( ) : Duration
boot ( ) : Duration
compare ( object obj ) : long
div ( long x ) : Duration
divFloat ( double x ) : Duration
encode ( ObjEncoder @out ) : void
floor ( Duration accuracy ) : Duration
fromIso ( string s ) : Duration
fromIso ( string s, bool check ) : Duration
fromStr ( string s ) : Duration
fromStr ( string s, bool check ) : Duration
hash ( ) : long
make ( long ticks ) : Duration
makeMillis ( long ms ) : Duration
makeSec ( long secs ) : Duration
max ( Duration that ) : Duration
millis ( ) : long
min ( Duration that ) : Duration
minus ( Duration x ) : Duration
mult ( long x ) : Duration
multFloat ( double x ) : Duration
negate ( ) : Duration
now ( ) : Duration
nowTicks ( ) : long
plus ( Duration x ) : Duration
sec ( ) : long
ticks ( ) : long
toCode ( ) : string
toDay ( ) : long
toHour ( ) : long
toIso ( ) : string
toLocale ( ) : string
toMillis ( ) : long
toMin ( ) : long
toSec ( ) : long
toStr ( ) : string
uptime ( ) : Duration

Private Methods

Method Description
Duration ( long ticks ) : System

Method Details

@typeof() public final method

public final @typeof ( ) : Type
return Type

Equals() public final method

public final Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public final method

public final GetHashCode ( ) : int
return int

abs() public method

public abs ( ) : Duration
return Duration

boot() public static method

public static boot ( ) : Duration
return Duration

compare() public final method

public final compare ( object obj ) : long
obj object
return long

div() public method

public div ( long x ) : Duration
x long
return Duration

divFloat() public method

public divFloat ( double x ) : Duration
x double
return Duration

encode() public method

public encode ( ObjEncoder @out ) : void
@out Fanx.Serial.ObjEncoder
return void

floor() public method

public floor ( Duration accuracy ) : Duration
accuracy Duration
return Duration

fromIso() public static method

public static fromIso ( string s ) : Duration
s string
return Duration

fromIso() public static method

public static fromIso ( string s, bool check ) : Duration
s string
check bool
return Duration

fromStr() public static method

public static fromStr ( string s ) : Duration
s string
return Duration

fromStr() public static method

public static fromStr ( string s, bool check ) : Duration
s string
check bool
return Duration

hash() public final method

public final hash ( ) : long
return long

make() public static method

public static make ( long ticks ) : Duration
ticks long
return Duration

makeMillis() public static method

public static makeMillis ( long ms ) : Duration
ms long
return Duration

makeSec() public static method

public static makeSec ( long secs ) : Duration
secs long
return Duration

max() public method

public max ( Duration that ) : Duration
that Duration
return Duration

millis() public method

public millis ( ) : long
return long

min() public method

public min ( Duration that ) : Duration
that Duration
return Duration

minus() public method

public minus ( Duration x ) : Duration
x Duration
return Duration

mult() public method

public mult ( long x ) : Duration
x long
return Duration

multFloat() public method

public multFloat ( double x ) : Duration
x double
return Duration

negate() public method

public negate ( ) : Duration
return Duration

now() public static method

public static now ( ) : Duration
return Duration

nowTicks() public static method

public static nowTicks ( ) : long
return long

plus() public method

public plus ( Duration x ) : Duration
x Duration
return Duration

sec() public method

public sec ( ) : long
return long

ticks() public method

public ticks ( ) : long
return long

toCode() public method

public toCode ( ) : string
return string

toDay() public method

public toDay ( ) : long
return long

toHour() public method

public toHour ( ) : long
return long

toIso() public method

public toIso ( ) : string
return string

toLocale() public method

public toLocale ( ) : string
return string

toMillis() public method

public toMillis ( ) : long
return long

toMin() public method

public toMin ( ) : long
return long

toSec() public method

public toSec ( ) : long
return long

toStr() public method

public toStr ( ) : string
return string

uptime() public static method

public static uptime ( ) : Duration
return Duration

Property Details

Zero public_oe static_oe property

public static Duration Zero
return Duration

m_defVal public_oe static_oe property

public static Duration m_defVal
return Duration

m_maxVal public_oe static_oe property

public static Duration m_maxVal
return Duration

m_minVal public_oe static_oe property

public static Duration m_minVal
return Duration

m_negOneDay public_oe static_oe property

public static Duration m_negOneDay
return Duration

m_oneDay public_oe static_oe property

public static Duration m_oneDay
return Duration

m_oneMin public_oe static_oe property

public static Duration m_oneMin
return Duration

m_oneSec public_oe static_oe property

public static Duration m_oneSec
return Duration

m_ticks public_oe property

public long m_ticks
return long