struct Rosetta::LocalizedTime

Overview

LocalizedTime is similar to a Translation object; it implements a similar interface but its sole purpose is to localize time objects.

Defined in:

rosetta/localization.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(format : String) #

[View source]
def self.new(translation : Translation) #

[View source]

Instance Method Detail

def format : String #

[View source]
def l(time : Time) #

[View source]
def l(date : Tuple(Int32, Int32, Int32)) #

[View source]