Packages

o

org.mongodb.scala.bson

BsonDateTime

object BsonDateTime

Companion helper for a BsonDateTime

Since

1.0

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BsonDateTime
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply(date: Date): BsonDateTime

    Creates a BsonDateTime

    Creates a BsonDateTime

    date

    a java.util.Date

    returns

    the BsonDateTime

  2. def apply(value: Long): BsonDateTime

    Creates a BsonDateTime

    Creates a BsonDateTime

    value

    the number of milliseconds since the Unix epoch

    returns

    the BsonDateTime