class Data
- Data
- Reference
- Object
Included Modules
- YAML::Serializable
Defined in:
classes/data.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(locale : String, current_balance : MonetaryValue = MonetaryValue.zero, name : String = "")
Instance Method Summary
- #add_periodic_monetary_changes(change : PeriodicMonetaryChange)
- #current_balance : MonetaryValue
- #current_balance=(current_balance : MonetaryValue)
- #format_prospections_month(values_per_month, date, last_day)
- #formatted_monetary_changes(indexed? : Bool = false)
- #formatted_prospections
- #get_month_name(n = Int)
- #locale : String
- #locale=(locale : String)
- #name : String
- #name=(name : String)
-
#occurrences_in(day : Time)
Information Composer Methods
- #periodic_monetary_changes : Array(PeriodicMonetaryChange)
- #periodic_monetary_changes=(periodic_monetary_changes : Array(PeriodicMonetaryChange))
- #save
- #sort_periodic_monetary_changes
Constructor Detail
def self.new(locale : String, current_balance : MonetaryValue = MonetaryValue.zero, name : String = "")
#
Instance Method Detail
def periodic_monetary_changes=(periodic_monetary_changes : Array(PeriodicMonetaryChange))
#