Click or drag to resize
BroccoliSharp BroTime Structure
Represents an immutable Bro time value. Implicitly castable as a Double and a DateTime.

Namespace: BroccoliSharp
Assembly: BroccoliSharp (in BroccoliSharp.dll) Version: 1.0.5434.15853
Syntax
public struct BroTime

The BroTime type exposes the following members.

Constructors
  NameDescription
Public methodBroTime(DateTime)
Creates a new BroTime from an existing DateTimevalue.
Public methodBroTime(Double)
Creates a new BroTime from an existing Doublevalue.
Top
Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToDateTime
Converts BroTime to a .NET DateTime.
Public methodToString
Returns a string that represents this BroTime.
(Overrides ValueTypeToString.)
Public methodToString(String)
Returns a string that represents this BroTime using the specified format.
Top
Operators
Fields
  NameDescription
Public fieldStatic memberEpoch
Date-time representing 1/1/1970 UTC.
Top
Properties
  NameDescription
Public propertyStatic memberNow
Gets current time, in UTC, as a BroTime value.
Public propertyValue
Gets BroTime value.
Top
See Also