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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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