Method | Description | |
---|---|---|
Timestamp ( System.DateTime datetime ) : System |
Basic constructor that takes a given datetime
|
|
Timestamp ( System.DateTime datetime, double timezone ) : System |
Basic constructor, that also gives the posibility to set a timezone
|
|
Timestamp ( |
Parse a DateTime
|
|
ToString ( ) : string |
To String
|
Method | Description | |
---|---|---|
Write ( WriteStream stream ) : void |
Write to YAML
|
Method | Description | |
---|---|---|
ParseMilliSeconds ( |
Parse the milliseconds
|
|
ParseNumber ( |
Parse an integer
|
|
ParseTime ( |
Parse the time (hours, minutes, seconds)
|
|
ParseTimezone ( |
Parse the time zone
|
|
SkipChar ( |
Skips a specified char, and throws an exception when another char was found.
|
|
SkipWhitespace ( |
Skips the spaces * and tabs * in the current stream
|
|
YamlString ( ) : string |
Yaml notation for this datetime
|
public Timestamp ( System.DateTime datetime ) : System | ||
datetime | System.DateTime | A .NET 1.0 datetime |
return | System |
public Timestamp ( System.DateTime datetime, double timezone ) : System | ||
datetime | System.DateTime | A .NET 1.0 datetime |
timezone | double | The offset, in hours,r to UTC that determine the timezone |
return | System |
public Timestamp ( |
||
stream | ||
return | System |
protected Write ( WriteStream stream ) : void | ||
stream | WriteStream | |
return | void |