This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.IOException; | |
import java.lang.reflect.Type; | |
import com.google.gson.stream.JsonReader; | |
import com.google.gson.stream.JsonWriter; | |
import org.bson.types.ObjectId; | |
import com.google.gson.*; | |
/** | |
* Created by alexb on 12/05/15. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Test ledger cost/price syntax, lots, revaluation, capital gains | |
P 2019-01-01 ETC 11 EUR | |
P 2019-02-01 ETC 12 EUR | |
; Fluctuating cost/price | |
; @, @@ https://www.ledger-cli.org/3.0/doc/ledger3.html#Posting-cost | |
; { }, {{ }} https://www.ledger-cli.org/3.0/doc/ledger3.html#Commodity-prices | |
; "functionally.. no difference" https://www.ledger-cli.org/3.0/doc/ledger3.html#Prices-versus-costs |