Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
What Is jxl.jar 2.6.12
What is jxl.jar 2.6.12?
✍: fyicenter.com
jxl.jar 2.6.12 is the JAR file for Java Excel API 2.6.12,
which is a Java library for reading, writing and
modifying Microsoft Excel spreadsheet files.
JAR File Size and Download Location:
JAR name: jxl-2.6.12.jar Target JDK version: 1.6 Dependency: None File name: jxl.jar File size: 725735 bytes Release date: 24-Oct-2009 Download: Java Excel API Website.
Here are Java Source Code files for jxl-2.6.12.jar:
⏎ jxl/write/DateFormats.java
/********************************************************************* * * Copyright (C) 2002 Andrew Khan * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ***************************************************************************/ package jxl.write; import jxl.biff.DisplayFormat; /** * Static class which contains Excels predefined Date formats */ public final class DateFormats { /** * Inner class which holds the format index */ private static class BuiltInFormat implements DisplayFormat { /** * The index of this date format */ private int index; /** * The excel format */ private String formatString; /** * Constructor * * @param i the index * @param s the format string */ public BuiltInFormat(int i, String s) { index = i; formatString = s; } /** * Gets the format index * * @return the format index */ public int getFormatIndex() { return index; } /** * Interface method which determines whether the index has been set. For * built ins this is always true * * @return TRUE, since this is a built in format */ public boolean isInitialized() { return true; } /** * Initialize this format with the specified position. Since this is a * built in format, this is always initialized, so this method body for * this is empty * * @param pos the position in the array */ public void initialize(int pos) { } /** * Determines whether this format is a built in format * * @return TRUE, since this is a built in format */ public boolean isBuiltIn() { return true; } /** * Accesses the excel format string which is applied to the cell * Note that this is the string that excel uses, and not the java * equivalent * * @return the cell format string */ public String getFormatString() { return formatString; } /** * Standard equals method * * @param o the object to compare * @return TRUE if the two objects are equal, FALSE otherwise */ public boolean equals(Object o) { if (o == this) { return true; } if (!(o instanceof BuiltInFormat)) { return false; } BuiltInFormat bif = (BuiltInFormat) o; return index == bif.index; } /** * Hash code implementation * * @return the hash code */ public int hashCode() { return index; } } // The available built in date formats /** * The default format. This is equivalent to a date format of "M/d/yy" */ public static final DisplayFormat FORMAT1 = new BuiltInFormat(0x0e, "M/d/yy"); /** * The default format. This is equivalent to a date format of "M/d/yy" */ public static final DisplayFormat DEFAULT = FORMAT1; /** * Equivalent to a date format of "d-MMM-yy" */ public static final DisplayFormat FORMAT2 = new BuiltInFormat(0xf, "d-MMM-yy"); /** * Equivalent to a date format of "d-MMM" */ public static final DisplayFormat FORMAT3 = new BuiltInFormat(0x10, "d-MMM"); /** * Equivalent to a date format of "MMM-yy" */ public static final DisplayFormat FORMAT4 = new BuiltInFormat(0x11, "MMM-yy"); /** * Equivalent to a date format of "h:mm a" */ public static final DisplayFormat FORMAT5 = new BuiltInFormat(0x12, "h:mm a"); /** * Equivalent to a date format of "h:mm:ss a" */ public static final DisplayFormat FORMAT6 = new BuiltInFormat(0x13, "h:mm:ss a"); /** * Equivalent to a date format of "H:mm" */ public static final DisplayFormat FORMAT7 = new BuiltInFormat(0x14, "H:mm"); /** * Equivalent to a date format of "H:mm:ss" */ public static final DisplayFormat FORMAT8 = new BuiltInFormat(0x15, "H:mm:ss"); /** * Equivalent to a date format of "M/d/yy H:mm" */ public static final DisplayFormat FORMAT9 = new BuiltInFormat(0x16, "M/d/yy H:mm"); /** * Equivalent to a date format of "mm:ss" */ public static final DisplayFormat FORMAT10 = new BuiltInFormat(0x2d, "mm:ss"); /** * Equivalent to a date format of "H:mm:ss" */ public static final DisplayFormat FORMAT11 = new BuiltInFormat(0x2e, "H:mm:ss"); /** * Equivalent to a date format of "mm:ss.S" */ public static final DisplayFormat FORMAT12 = new BuiltInFormat(0x2f, "H:mm:ss"); }
⏎ jxl/write/DateFormats.java
Or download all of them as a single archive file:
File name: jxl-2.6.12-src.zip File size: 824057 bytes Release date: 2009-10-24 Download
⇐ What Is jexcelapi_2_6_12.zip
2017-06-09, 103375👍, 6💬
Popular Posts:
What JAR files are required to run dom\Writer.java provided in the Apache Xerces package? 3 JAR file...
JDK 11 java.rmi.jmod is the JMOD file for JDK 11 RMI (Remote Method Invocation) module. JDK 11 RMI m...
What is the dom\GetElementsByTagName .javaprovided in the Apache Xerces package? I have Apache Xerce...
How to download and install Apache XMLBeans Source Package? The source package contains Java source ...
What Is commons-lang3-3.1.jar? commons-lang3-3.1.jar is the JAR file for Apache Commons Lang 3.1, wh...