fieldtype-ag凯发旗舰厅



com.spire.presentation
class fieldtype

java.lang.object
  extended by com.spire.presentation.fieldtype

public final class fieldtype
extends java.lang.object

represents a type of field.


constructor summary
fieldtype(java.lang.string str)
          initializes a new instance of fieldtype class.
 
method summary
 boolean equals(java.lang.object obj)
          checks if this field is equal to another.
static fieldtype getdatetime()
          gets current date and time in default date time format.
static fieldtype getdatetime1()
          gets current date and time in a first predefined format (mm/dd/yyyy).
static fieldtype getdatetime10()
          gets current date and time in a tenth predefined format (hh:mm).
static fieldtype getdatetime11()
          gets current date and time in a eleventh predefined format (hh:mm:ss).
static fieldtype getdatetime12()
          gets current date and time in a twelfth predefined format (hh:mm am/pm)
static fieldtype getdatetime13()
          gets current date and time in a thirteenth predefined format (hh:mm:ss am/pm)
static fieldtype getdatetime2()
          gets current date and time in a second predefined format (day, month dd, yyyy).
static fieldtype getdatetime3()
          gets current date and time in a third predefined format (dd month yyyy).
static fieldtype getdatetime4()
          gets current date and time in a fourth predefined format (month dd, yyyy).
static fieldtype getdatetime5()
          gets current date and time in a fifth predefined format (dd-mon-yy).
static fieldtype getdatetime6()
          gets current date and time in a sixth predefined format (month yy).
static fieldtype getdatetime7()
          gets current date and time in a seventh predefined format (mon-yy).
static fieldtype getdatetime8()
          gets current date and time in a eighth predefined format (mm/dd/yyyy hh:mm am/pm).
static fieldtype getdatetime9()
          gets current date and time in a ninth predefined format (mm/dd/yyyy hh:mm:ss am/pm).
 int hashcode()
          gets hashcode for this object.
static boolean op_equality(fieldtype a, fieldtype b)
          checks objects is equal.
static boolean op_inequality(fieldtype a, fieldtype b)
          checks objects is inequal.
 
constructor detail

fieldtype

public fieldtype(java.lang.string str)
initializes a new instance of fieldtype class.
parameters:
str -
method detail

equals

public boolean equals(java.lang.object obj)
checks if this field is equal to another.
overrides:
equals in class java.lang.object
parameters:
obj - field to compare.
returns:
true if fields are equal.

hashcode

public int hashcode()
gets hashcode for this object.
overrides:
hashcode in class java.lang.object
returns:
hashcode .

op_equality

public static boolean op_equality(fieldtype a,
                                  fieldtype b)
checks objects is equal.
parameters:
a -
b -
returns:

op_inequality

public static boolean op_inequality(fieldtype a,
                                    fieldtype b)
checks objects is inequal.
parameters:
a -
b -
returns:

getdatetime

public static fieldtype getdatetime()
gets current date and time in default date time format.
returns:

getdatetime1

public static fieldtype getdatetime1()
gets current date and time in a first predefined format (mm/dd/yyyy).
returns:

getdatetime2

public static fieldtype getdatetime2()
gets current date and time in a second predefined format (day, month dd, yyyy).
returns:

getdatetime3

public static fieldtype getdatetime3()
gets current date and time in a third predefined format (dd month yyyy).
returns:

getdatetime4

public static fieldtype getdatetime4()
gets current date and time in a fourth predefined format (month dd, yyyy).
returns:

getdatetime5

public static fieldtype getdatetime5()
gets current date and time in a fifth predefined format (dd-mon-yy).
returns:

getdatetime6

public static fieldtype getdatetime6()
gets current date and time in a sixth predefined format (month yy).
returns:

getdatetime7

public static fieldtype getdatetime7()
gets current date and time in a seventh predefined format (mon-yy).
returns:

getdatetime8

public static fieldtype getdatetime8()
gets current date and time in a eighth predefined format (mm/dd/yyyy hh:mm am/pm).
returns:

getdatetime9

public static fieldtype getdatetime9()
gets current date and time in a ninth predefined format (mm/dd/yyyy hh:mm:ss am/pm).
returns:

getdatetime10

public static fieldtype getdatetime10()
gets current date and time in a tenth predefined format (hh:mm).
returns:

getdatetime11

public static fieldtype getdatetime11()
gets current date and time in a eleventh predefined format (hh:mm:ss).
returns:

getdatetime12

public static fieldtype getdatetime12()
gets current date and time in a twelfth predefined format (hh:mm am/pm)
returns:

getdatetime13

public static fieldtype getdatetime13()
gets current date and time in a thirteenth predefined format (hh:mm:ss am/pm)
returns:


网站地图