class Data

Included Modules

Defined in:

classes/data.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(locale : String, current_balance : MonetaryValue = MonetaryValue.zero, name : String = "") #

[View source]

Instance Method Detail

def add_periodic_monetary_changes(change : PeriodicMonetaryChange) #

[View source]
def current_balance : MonetaryValue #

[View source]
def current_balance=(current_balance : MonetaryValue) #

[View source]
def format_prospections_month(values_per_month, date, last_day) #

[View source]
def formatted_monetary_changes(indexed? : Bool = false) #

[View source]
def formatted_prospections #

[View source]
def get_month_name(n = Int) #

[View source]
def locale : String #

[View source]
def locale=(locale : String) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def occurrences_in(day : Time) #

Information Composer Methods


[View source]
def periodic_monetary_changes : Array(PeriodicMonetaryChange) #

[View source]
def periodic_monetary_changes=(periodic_monetary_changes : Array(PeriodicMonetaryChange)) #

[View source]
def save #

[View source]
def sort_periodic_monetary_changes #

[View source]