SchemaDate

Class serializing to a bson date containing a special now value that gets translated to the current time when converting to bson.

Constructors

this
this(BsonDate date)
this
this(long time)

Members

Properties

time
auto time [@property getter]

Static functions

fromBson
SchemaDate fromBson(Bson bson)
now
SchemaDate now()

Magic value setting the date to the current time stamp when serializing.

toBson
Bson toBson(SchemaDate date)

Meta