org.mentalog.util
Class DateTimeFormatter

java.lang.Object
  extended by org.mentalog.util.DateTimeFormatter

public class DateTimeFormatter
extends Object


Constructor Summary
DateTimeFormatter()
           
DateTimeFormatter(TimeZone tz)
           
 
Method Summary
 void changeTimeZone(TimeZone tz)
           
 char[] formatTime(long timeInMillis)
           
 void formatTimeTo(Appendable sb, long timeInMillis)
           
 char[] getDay(long now)
           
 char[] getMonth(long now)
           
 char[] getYear(long now)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateTimeFormatter

public DateTimeFormatter(TimeZone tz)

DateTimeFormatter

public DateTimeFormatter()
Method Detail

getDay

public char[] getDay(long now)

getMonth

public char[] getMonth(long now)

getYear

public char[] getYear(long now)

changeTimeZone

public void changeTimeZone(TimeZone tz)

formatTime

public char[] formatTime(long timeInMillis)

formatTimeTo

public void formatTimeTo(Appendable sb,
                         long timeInMillis)

main

public static void main(String[] args)


Copyright © 2013. All Rights Reserved.