Package jxl.write

Class DateFormats

java.lang.Object
jxl.write.DateFormats

public final class DateFormats extends Object
Static class which contains Excels predefined Date formats
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final jxl.biff.DisplayFormat
    The default format.
    static final jxl.biff.DisplayFormat
    The default format.
    static final jxl.biff.DisplayFormat
    Equivalent to a date format of "mm:ss"
    static final jxl.biff.DisplayFormat
    Equivalent to a date format of "H:mm:ss"
    static final jxl.biff.DisplayFormat
    Equivalent to a date format of "mm:ss.S"
    static final jxl.biff.DisplayFormat
    Equivalent to a date format of "d-MMM-yy"
    static final jxl.biff.DisplayFormat
    Equivalent to a date format of "d-MMM"
    static final jxl.biff.DisplayFormat
    Equivalent to a date format of "MMM-yy"
    static final jxl.biff.DisplayFormat
    Equivalent to a date format of "h:mm a"
    static final jxl.biff.DisplayFormat
    Equivalent to a date format of "h:mm:ss a"
    static final jxl.biff.DisplayFormat
    Equivalent to a date format of "H:mm"
    static final jxl.biff.DisplayFormat
    Equivalent to a date format of "H:mm:ss"
    static final jxl.biff.DisplayFormat
    Equivalent to a date format of "M/d/yy H:mm"
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • FORMAT1

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

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

      public static final jxl.biff.DisplayFormat FORMAT2
      Equivalent to a date format of "d-MMM-yy"
    • FORMAT3

      public static final jxl.biff.DisplayFormat FORMAT3
      Equivalent to a date format of "d-MMM"
    • FORMAT4

      public static final jxl.biff.DisplayFormat FORMAT4
      Equivalent to a date format of "MMM-yy"
    • FORMAT5

      public static final jxl.biff.DisplayFormat FORMAT5
      Equivalent to a date format of "h:mm a"
    • FORMAT6

      public static final jxl.biff.DisplayFormat FORMAT6
      Equivalent to a date format of "h:mm:ss a"
    • FORMAT7

      public static final jxl.biff.DisplayFormat FORMAT7
      Equivalent to a date format of "H:mm"
    • FORMAT8

      public static final jxl.biff.DisplayFormat FORMAT8
      Equivalent to a date format of "H:mm:ss"
    • FORMAT9

      public static final jxl.biff.DisplayFormat FORMAT9
      Equivalent to a date format of "M/d/yy H:mm"
    • FORMAT10

      public static final jxl.biff.DisplayFormat FORMAT10
      Equivalent to a date format of "mm:ss"
    • FORMAT11

      public static final jxl.biff.DisplayFormat FORMAT11
      Equivalent to a date format of "H:mm:ss"
    • FORMAT12

      public static final jxl.biff.DisplayFormat FORMAT12
      Equivalent to a date format of "mm:ss.S"
  • Constructor Details

    • DateFormats

      public DateFormats()