Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1036249 // PricePoint - price + timestamp

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (9983L) is out of date.

srecord PricePoint(long timestamp, double price) {
  toString {
    ret formatPrice(price) + " @ " + formatLocalDateWithSeconds(timestamp);
  }
  
  long time aka timestamp() { ret timestamp; }
  double price() { ret price; }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036249
Snippet name: PricePoint - price + timestamp
Eternal ID of this version: #1036249/8
Text MD5: a02e3c2722a48350a26a48be03133519
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2023-01-21 23:43:38
Source code size: 234 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 84 / 131
Version history: 7 change(s)
Referenced in: [show references]