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

8
LINES

< > BotCompany Repo | #1029935 // renderConceptDate [created + modified]

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

Libraryless. Click here for Pure Java version (13201L/91K).

1  
sS renderConceptDate(Concept cc) {
2  
  if (cc == null) ret "";
3  
  S c = formatLocalDateWithSeconds(cc.created);
4  
  S m = formatLocalDateWithSeconds(cc._modified);
5  
  S s = "Created " + c;
6  
  if (neq(c, m)) s += ", modified " + m;
7  
  ret s;
8  
}

Author comment

Began life as a copy of #1027039

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1029935
Snippet name: renderConceptDate [created + modified]
Eternal ID of this version: #1029935/3
Text MD5: 1859b9b3d7f71df8f9f92b057069ef17
Transpilation MD5: 525409fcfed7210fb6dcc9da077bdd9a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-10-12 14:36:07
Source code size: 241 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 188 / 270
Version history: 2 change(s)
Referenced in: [show references]