Class CalendarException

Class CalendarException

名称: Aspose.Tasks 合計: Aspose.Tasks.dll (25.4.0)

例外的な日程をカレンダーで表します。

[ClassInterface(ClassInterfaceType.AutoDual)]
public sealed class CalendarException

Inheritance

object CalendarException

相続人

object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

CalendarException()

Aspose.Tasks.CalendarExceptionクラスの新しい例を開始します。

public CalendarException()

Properties

DayWorking

指定された日付または日タイプが動作しているかどうかを示す値を取得または設定します。

public bool DayWorking { get; set; }

不動産価値

bool

DaysOfWeek

このオブジェクトのために DayTypeCollection を取得します。例外が有効である週の日。

public DayTypeCollection DaysOfWeek { get; }

不動産価値

DayTypeCollection

EnteredByOccurrences

繰り返しの範囲が複数の出来事を入力することによって定義されるかどうかを示す値を取得または設定します。False は、繰り返しの範囲が終了日を入力することによって定義されることを指定します。

public bool EnteredByOccurrences { get; set; }

不動産価値

bool

FromDate

例外時間の開始または設定。

public DateTime FromDate { get; set; }

不動産価値

DateTime

Month

例外再発が予定されている月を取得または設定します。

public Month Month { get; set; }

不動産価値

Month

MonthDay

例外の繰り返しが予定されている月の日を取得または設定します。

public int MonthDay { get; set; }

不動産価値

int

MonthItem

例外の繰り返しが予定されている月の項目を取得または設定します。

public MonthItemType MonthItem { get; set; }

不動産価値

MonthItemType

MonthPosition

1ヶ月以内に1ヶ月の項目の位置を取得または設定します。

public MonthPosition MonthPosition { get; set; }

不動産価値

MonthPosition

Name

例外の名前を入力または入力します。

public string Name { get; set; }

不動産価値

string

Occurrences

日程例外が有効であるイベントの数を取得または設定します。

public int Occurrences { get; set; }

不動産価値

int

ParentCalendar

このオブジェクトのマザー・カレンダーを取得します。

public Calendar ParentCalendar { get; }

不動産価値

Calendar

Period

例外の繰り返し期間を取得または設定します。

public int Period { get; set; }

不動産価値

int

ToDate

受けるか、例外時間の終了を設定します。

public DateTime ToDate { get; set; }

不動産価値

DateTime

Type

例外の種類を取得または設定します。

public CalendarExceptionType Type { get; set; }

不動産価値

CalendarExceptionType

WorkingTimes

WorkingTimeCollection オブジェクトを取得または設定します。週に働いた時間を定義する作業時間の収集。少なくとも1時間の労働時間は存在し、5時間以上は存在しません。

public WorkingTimeCollection WorkingTimes { get; set; }

不動産価値

WorkingTimeCollection

Methods

CheckException(DateTime)

System.DateTime 構造の指定例が例外日である場合に返信します。

public bool CheckException(DateTime dt)

Parameters

dt DateTime

System.DateTime 構造の指定例です。

Returns

bool

System.DateTime 値が例外日である場合、真実に戻ります。

Delete()

CalendarExceptionCollection オブジェクトから例外例を削除します。

public void Delete()

GetExceptionDates()

日程例外が適用される日付を返します。

public IEnumerable<datetime> GetExceptionDates()

Returns

IEnumerable < DateTime >

例外の収集は、日程例外が適用される日付を返します。

GetWorkingTime()

日程例外で作業時間を返します。

public TimeSpan GetWorkingTime()

Returns

TimeSpan

この日程の例外のために作業時間を返します。

 日本語