class UIng::TM

Defined in:

uing/tm.cr

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(cstruct : LibUI::TM = LibUI::TM.new) #

[View source]
def self.new(time : Time) #

Overloaded constructor: Convert Time to TM


[View source]

Macro Detail

macro method_missing(call) #

[View source]

Instance Method Detail

def to_s(io : IO, format : String) : Nil #

Delegate to_s to Time for convenient formatting


[View source]
def to_s(format : String) : String #

[View source]
def to_s(io : IO) : Nil #
Description copied from class Reference

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>

[View source]
def to_time : Time #

Convert TM to Time


[View source]
def to_unsafe #

[View source]
def zone #

[View source]
def zone=(value : String) #

[View source]