Package org.wildfly.clustering.marshalling.protostream.time
package org.wildfly.clustering.marshalling.protostream.time
-
ClassDescriptionMarshaller for
Durationinstances, using the following strategy: MarshalDuration.ZEROas zero bytes Marshal number of seconds of duration as unsigned long Marshal sub-second value of duration as unsigned integer, using millisecond precision, if possibleMarshals aLocalDateas an epoch day.Marshaller forLocalDateTimeinstances, using the following strategy: Marshal local date Marshal local timeMarshaller forLocalTimeinstances, using the following strategy: MarshalLocalTime.MIDNIGHTas zero bytes Marshal number of seconds in day as unsigned integer, using hours or minutes precision, if possible Marshal sub-second value of day as unsigned integer, using millisecond precision if possibleMarshalsMonthDayinstances.Marshaller forOffsetDateTimeinstances, using the following strategy: Marshal local date Marshal local time Marshal zone offsetMarshaller forOffsetTimeinstances, using the following strategy: Marshal local time Marshal zone offsetMarshaller forPeriodinstances, using the following strategy: MarshalPeriod.ZEROas zero bytes Marshal number of years of period as signed integer Marshal number of months of period as signed integer Marshal number of days of period as signed integerSerialization context initializer for thejava.timepackage.MarshalsYearinstances as number of years since the epoch year.Marshaller forYearMonthinstances, using the following strategy: Marshal epoch year Marshal month as enumMarshaller forZonedDateTimeinstances, using the following strategy: Marshal duration since epoch Marshal time zoneMarshalling forZoneOffsetinstances using the following strategy: MarshalZoneOffset.UTCas zero bytes If offset is of form ±HH, marshal as signed integer of hours If offset is of form ±HH:MM, marshal as signed integer of total minutes If offset is of form ±HH:MM:SS, marshal as signed integer of total seconds