DayOfWeek
values to and from
BSON Int32
, such as
2
.DayOfWeek
values to and from
BSON String
, such as
TUESDAY
.Duration
values to and from
BSON Decimal128
, such as
10.100000000
.Duration
values to and from
BSON Document
, such as
{ seconds: 10, nanos: 100 }
.Duration
values to and from
BSON String
, such as
PT10.100S
.Instant
values to and from
BSON DateTime
.Instant
values to and from
BSON Document
, such as
{ seconds: 1514888130, nanos: 0 }
.Instant
values to and from
BSON String
, such as
2018-01-02T10:15:30Z
.DayOfWeek
codecs.Duration
codecs.Instant
codecs.LocalDate
codecs.LocalDateTime
codecs.LocalTime
codecs.Month
codecs.MonthDay
codecs.OffsetDateTime
codecs.OffsetTime
codecs.Period
codecs.Year
codecs.YearMonth
codecs.ZonedDateTime
codecs.ZoneId
codecs.ZoneOffset
codecs.LocalDate
values to and from
BSON DateTime
.LocalDate
values to and from
BSON Document
, such as
{ year: 2018, month: 1, day: 2 }
.LocalDate
values to and from
BSON String
, such as
2018-01-02
.LocalDateTime
values to and from
BSON DateTime
.LocalDateTime
values to and from
BSON Document
, such as:LocalDateTimeAsDocumentCodec
using:
a LocalDateAsDocumentCodec
;
a LocalTimeAsDocumentCodec
.LocalDateTimeAsDocumentCodec
using
the provided codecs.LocalDateTime
values to and from
BSON String
, such as
2018-01-02T10:15:30
.LocalTime
values to and from
BSON DateTime
.LocalTime
values to and from
BSON Document
, such as
{ hour: 10, minute: 15, second: 30, nano: 0 }
.LocalTime
values to and from
BSON Int64
, such as
36930000000000
.LocalTime
values to and from
BSON String
, such as
10:15:30
.Month
values to and from
BSON Int32
, such as
1
.Month
values to and from
BSON String
, such as
JANUARY
.MonthDay
values to and from
BSON Decimal128
, such as
1.02
.MonthDay
values to and from
BSON Document
, such as
{ month: 1, day: 2 }
.MonthDay
values to and from
BSON String
, such as
--01-02
.OffsetDateTime
values to and from
BSON Document
, such as:OffsetDateTimeAsDocumentCodec
using:
a LocalDateTimeAsDocumentCodec
;
a ZoneOffsetAsInt32Codec
.OffsetDateTimeAsDocumentCodec
using
the provided codecs.OffsetDateTime
values to and from
BSON String
, such as
2018-01-02T10:15:30+01:00
.OffsetTime
values to and from
BSON Document
, such as:OffsetTimeAsDocumentCodec
using:
a LocalTimeAsDocumentCodec
;
a ZoneOffsetAsInt32Codec
.OffsetTimeAsDocumentCodec
using
the provided codecs.OffsetTime
values to and from
BSON String
, such as
10:15:30+01:00
.Period
values to and from
BSON Document
, such as
{ years: 18, months: 1, days: 2 }
.Period
values to and from
BSON String
, such as
P18Y1M2D
.Year
values to and from
BSON Int32
, such as
2018
.YearMonth
values to and from
BSON Decimal128
, such as
2018.01
.YearMonth
values to and from
BSON Document
, such as
{ year: 2018, month: 1 }
.YearMonth
values to and from
BSON String
, such as
2018-01
.ZonedDateTime
values to and from
BSON Document
, such as:ZonedDateTimeAsDocumentCodec
using:
a LocalDateTimeAsDocumentCodec
;
a ZoneOffsetAsInt32Codec
;
a ZoneIdAsStringCodec
.ZonedDateTimeAsDocumentCodec
using
the provided codecs.ZonedDateTime
values to and from
BSON String
, such as
2018-01-02T10:15:30+01:00[CET]
.ZoneId
values to and from
BSON String
, such as
CET
(non-offset based IDs) or
+01:00
(offset based IDs).ZoneOffset
values to and from
BSON Int32
, such as
3600
.ZoneOffset
values to and from
BSON String
, such as
+01:00
.Copyright © 2018. All rights reserved.