@@ -0,0 +1,994 @@
+package com.haxademic.demo.draw.text;%0A%0Aimport com.haxademic.core.app.PAppletHax;%0Aimport com.haxademic.core.data.constants.PTextAlign;%0Aimport com.haxademic.core.draw.text.FontCacher;%0Aimport com.haxademic.core.file.FileUtil;%0Aimport com.haxademic.core.media.DemoAssets;%0Aimport com.haxademic.core.system.DateUtil;%0A%0Aimport processing.core.PFont;%0A%0Apublic class Demo_Clock%0Aextends PAppletHax %7B%0A%09public static void main(String args%5B%5D) %7B arguments = args; PAppletHax.main(Thread.currentThread().getStackTrace()%5B1%5D.getClassName()); %7D%0A%0A%09protected void drawApp() %7B%0A%09%09background(0);%0A%09%09drawClock();%0A%09%7D%0A%0A%09protected void drawClock() %7B%0A%09%09PFont font = FontCacher.getFont(DemoAssets.fontOpenSansPath, 100);%0A%09%09FontCacher.setFontOnContext(p.g, font, p.color(0, 255, 0), 2f, PTextAlign.CENTER, PTextAlign.CENTER);%0A%0A%09%09String dateString = DateUtil.currentDate(%22 - %22);%0A%09%09String timeString = DateUtil.currentTime(true, false, false);%0A%09%09p.text(dateString + FileUtil.NEWLINE + timeString, 0, 0, p.width, p.height);%0A%09%7D%0A%09%0A%7D%0A

Add clcok demo for DateUtil functions