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:

CBOR/to_cbor.cr

Instance Method Summary

Instance methods inherited from class Object

to_cbor(io : IO)
to_cbor
to_cbor

Instance Method Detail

def to_cbor(value : Time, cbor : CBOR::Builder) #

[View source]