org.jrobin.core.timespec
Class Epoch
public
class
Epoch
extends JFrame
Small swing-based utility to convert timestamps (seconds since epoch) to readable dates and vice versa.
Supports at-style time specification (like "now-2d", "noon yesterday") and other human-readable
data formats:
- MM/dd/yy HH:mm:ss
- dd.MM.yy HH:mm:ss
- dd.MM.yy HH:mm:ss
- MM/dd/yy HH:mm
- dd.MM.yy HH:mm
- yy-MM-dd HH:mm
- MM/dd/yy
- dd.MM.yy
- yy-MM-dd
- HH:mm MM/dd/yy
- HH:mm dd.MM.yy
- HH:mm yy-MM-dd
- HH:mm:ss MM/dd/yy
- HH:mm:ss dd.MM.yy
- HH:mm:ss yy-MM-dd
The current timestamp is displayed in the title bar :)
public static void main(String[] args)
Main method which runs this utility.
Parameters: args Not used.