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:

bencoding/bencode.cr

Instance Method Summary

Instance methods inherited from class Object

bencode(builder : Bencoding::Builder)
bencode : String
bencode

Constructor methods inherited from class Object

bdecode(io : IO) : self
bdecode(string : String) : self
bdecode

Instance Method Detail

def bencode(value : Time, builder : Bencoding::Builder) #

[View source]