Class CalendarException

Class CalendarException

Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)

일정에서 예외적인 시간 기간을 나타냅니다.

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

상속

objectCalendarException

상속된 멤버

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

생성자

CalendarException()

Aspose.Tasks.CalendarException 클래스의 새 인스턴스를 초기화합니다.

public CalendarException()

속성

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

월 내에서 월 항목의 위치를 가져오거나 설정합니다.

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 객체를 가져오거나 설정합니다. 주중에 작업한 시간을 정의하는 작업 시간의 모음입니다. 최소한 하나의 작업 시간이 있어야 하며, 다섯 개를 초과할 수 없습니다.

public WorkingTimeCollection WorkingTimes { get; set; }

속성 값

WorkingTimeCollection

메서드

CheckException(DateTime)

지정된 System.DateTime 구조체 인스턴스가 예외일 경우 true를 반환합니다.

public bool CheckException(DateTime dt)

매개변수

dt DateTime

지정된 System.DateTime 구조체 인스턴스입니다.

반환값

bool

System.DateTime 값이 예외일 경우 true를 반환하며, 그렇지 않으면 false를 반환합니다.

Delete()

부모 캘린더 CalendarExceptionCollection 객체에서 예외 인스턴스를 삭제합니다.

public void Delete()

GetExceptionDates()

일정 예외가 적용되는 날짜를 반환합니다.

public IEnumerable<datetime> GetExceptionDates()

반환값

IEnumerable<DateTime&gt;

일정 예외가 적용되는 예외 날짜의 컬렉션을 반환합니다.

GetWorkingTime()

일정 예외에 대한 작업 시간을 반환합니다.

public TimeSpan GetWorkingTime()

반환값

TimeSpan

이 일정 예외에 대한 작업 시간을 반환합니다.

 한국어