C# Class 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
Inheritance: XMPDateTime
Afficher le fichier Open project: nonorganic/dssnet Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

CompareTo() public méthode

public CompareTo ( object dt ) : int
dt object
Résultat int

HasDate() public méthode

public HasDate ( ) : bool
Résultat bool

HasTime() public méthode

public HasTime ( ) : bool
Résultat bool

HasTimeZone() public méthode

public HasTimeZone ( ) : bool
Résultat bool

ToString() public méthode

public ToString ( ) : string
Résultat string

XmpDateTimeImpl() public méthode

Creates an XMPDateTime-instance with the current time in the default time zone.
public XmpDateTimeImpl ( ) : System
Résultat System

XmpDateTimeImpl() public méthode

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
Résultat System

XmpDateTimeImpl() public méthode

Creates an XMPDateTime-instance from a calendar.
public XmpDateTimeImpl ( XMPCalendar calendar ) : System
calendar XMPCalendar a Calendar
Résultat System

XmpDateTimeImpl() public méthode

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
Résultat System