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

16
LINES

< > BotCompany Repo | #1003490 // Date Backend

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (1225L/8K/27K).

!759

svoid action(S s, BF b) {
  new Matches m;
  
  print("backend: " + s);
  if "get year()" {
    print("backend: setting year");
    b.value(year());
  } else if "get month()"
    b.value(month());
  else if "get dayOfMonth()"
    b.value(dayOfMonth());
  else
    b.unknown();
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003490
Snippet name: Date Backend
Eternal ID of this version: #1003490/1
Text MD5: 33225ef9a331fdd7b48c92c597bb696d
Transpilation MD5: a13977ff4cfb1dda388b3a3e9a3f4066
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-10 01:07:25
Source code size: 299 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 639 / 1261
Referenced in: #1003494 - What's the date, bot?!
#1003496 - Test isNewStyleBackend
#1003509 - Sag mir das Datum, Bot