struct Time::Format

Overview

Specifies the format to convert a Time to and from a String.

The pattern of a format is a String with directives. Directives being with a percent (%) character. Any text not listed as a directive will be passed/parsed through the output/input string.

The directives are:

Defined in:

message_pack/from_msgpack.cr
message_pack/to_msgpack.cr

Instance Method Summary

Instance methods inherited from class Object

===(other : MessagePack::Any) ===, to_msgpack(io : IO)
to_msgpack(packer : MessagePack::Packer)
to_msgpack
to_msgpack

Class methods inherited from class Object

from_msgpack(string_or_io, zero_copy = false) from_msgpack

Instance Method Detail

def from_msgpack(pull : MessagePack::Unpacker) #

[View source]
def to_msgpack(value : Time, packer : MessagePack::Packer) #

[View source]