jxl.write
Class DateFormats

java.lang.Object
  |
  +--jxl.write.DateFormats

public final class DateFormats
extends java.lang.Object

Static class which contains Excels predefined Date formats


Inner Class Summary
private static class DateFormats.BuiltInFormat
          Inner class which holds the format index
 
Field Summary
static DisplayFormat DEFAULT
          The default format.
static DisplayFormat FORMAT1
          The default format.
static DisplayFormat FORMAT10
          Equivalent to a date format of "mm:ss"
static DisplayFormat FORMAT11
          Equivalent to a date format of "H:mm:ss"
static DisplayFormat FORMAT12
          Equivalent to a date format of "mm:ss.S"
static DisplayFormat FORMAT2
          Equivalent to a date format of "d-MMM-yy"
static DisplayFormat FORMAT3
          Equivalent to a date format of "d-MMM"
static DisplayFormat FORMAT4
          Equivalent to a date format of "MMM-yy"
static DisplayFormat FORMAT5
          Equivalent to a date format of "h:mm a"
static DisplayFormat FORMAT6
          Equivalent to a date format of "h:mm:ss a"
static DisplayFormat FORMAT7
          Equivalent to a date format of "H:mm"
static DisplayFormat FORMAT8
          Equivalent to a date format of "H:mm:ss"
static DisplayFormat FORMAT9
          Equivalent to a date format of "M/d/yy H:mm"
 
Constructor Summary
DateFormats()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

FORMAT1

public static DisplayFormat FORMAT1
The default format. This is equivalent to a date format of "M/d/yy"

DEFAULT

public static DisplayFormat DEFAULT
The default format. This is equivalent to a date format of "M/d/yy"

FORMAT2

public static DisplayFormat FORMAT2
Equivalent to a date format of "d-MMM-yy"

FORMAT3

public static DisplayFormat FORMAT3
Equivalent to a date format of "d-MMM"

FORMAT4

public static DisplayFormat FORMAT4
Equivalent to a date format of "MMM-yy"

FORMAT5

public static DisplayFormat FORMAT5
Equivalent to a date format of "h:mm a"

FORMAT6

public static DisplayFormat FORMAT6
Equivalent to a date format of "h:mm:ss a"

FORMAT7

public static DisplayFormat FORMAT7
Equivalent to a date format of "H:mm"

FORMAT8

public static DisplayFormat FORMAT8
Equivalent to a date format of "H:mm:ss"

FORMAT9

public static DisplayFormat FORMAT9
Equivalent to a date format of "M/d/yy H:mm"

FORMAT10

public static DisplayFormat FORMAT10
Equivalent to a date format of "mm:ss"

FORMAT11

public static DisplayFormat FORMAT11
Equivalent to a date format of "H:mm:ss"

FORMAT12

public static DisplayFormat FORMAT12
Equivalent to a date format of "mm:ss.S"
Constructor Detail

DateFormats

public DateFormats()