C# 클래스 iTextSharp.xmp.impl.XmpDateTimeImpl

The implementation of XMPDateTime. Internally a calendar is used plus an additional nano seconds field, because Calendar supports only milli seconds. The nanoSeconds convers only the resolution beyond a milli second. @since 16.02.2006
상속: XMPDateTime
파일 보기 프로젝트 열기: nonorganic/dssnet 1 사용 예제들

공개 메소드들

메소드 설명
CompareTo ( object dt ) : int
HasDate ( ) : bool
HasTime ( ) : bool
HasTimeZone ( ) : bool
ToString ( ) : string
XmpDateTimeImpl ( ) : System

Creates an XMPDateTime-instance with the current time in the default time zone.

XmpDateTimeImpl ( System.DateTime date, TimeZone timeZone ) : System

Creates an XMPDateTime-instance from a Date and a TimeZone.

XmpDateTimeImpl ( XMPCalendar calendar ) : System

Creates an XMPDateTime-instance from a calendar.

XmpDateTimeImpl ( string strValue ) : System

Creates an XMPDateTime-instance from an ISO 8601 string.

메소드 상세

CompareTo() 공개 메소드

public CompareTo ( object dt ) : int
dt object
리턴 int

HasDate() 공개 메소드

public HasDate ( ) : bool
리턴 bool

HasTime() 공개 메소드

public HasTime ( ) : bool
리턴 bool

HasTimeZone() 공개 메소드

public HasTimeZone ( ) : bool
리턴 bool

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

XmpDateTimeImpl() 공개 메소드

Creates an XMPDateTime-instance with the current time in the default time zone.
public XmpDateTimeImpl ( ) : System
리턴 System

XmpDateTimeImpl() 공개 메소드

Creates an XMPDateTime-instance from a Date and a TimeZone.
public XmpDateTimeImpl ( System.DateTime date, TimeZone timeZone ) : System
date System.DateTime a date describing an absolute point in time
timeZone System.TimeZone a TimeZone how to interpret the date
리턴 System

XmpDateTimeImpl() 공개 메소드

Creates an XMPDateTime-instance from a calendar.
public XmpDateTimeImpl ( XMPCalendar calendar ) : System
calendar XMPCalendar a Calendar
리턴 System

XmpDateTimeImpl() 공개 메소드

Creates an XMPDateTime-instance from an ISO 8601 string.
If the string is a non-conform ISO 8601 string, an exception is thrown
public XmpDateTimeImpl ( string strValue ) : System
strValue string an ISO 8601 string
리턴 System