struct TimeFormat

Superclass hierarchy

Object
Value
Struct
TimeFormat

Defined in:

Constant Summary

Class Method Summary

Instance Method Summary

Class Method Detail

def self.new(pattern : String, kind = Time::Kind::Unspecified)

Instance Method Detail

def format(time : Time, io : IO)

def format(time : Time)

def from_json(pull : JSON::PullParser)

def parse(string, kind = @kind)

def pattern

def to_json(value : Time, io : IO)