Class CalendarException
Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)
일정에서 예외적인 시간 기간을 나타냅니다.
[ClassInterface(ClassInterfaceType.AutoDual)]
public sealed class CalendarException
상속
상속된 멤버
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; }
속성 값
DaysOfWeek
이 객체에 대한 DayTypeCollection을 가져옵니다. 예외가 유효한 요일입니다.
public DayTypeCollection DaysOfWeek { get; }
속성 값
EnteredByOccurrences
발생 횟수 입력으로 반복 범위가 정의되는지 여부를 가져오거나 설정합니다. False는 반복 범위가 종료 날짜 입력으로 정의됨을 나타냅니다.
public bool EnteredByOccurrences { get; set; }
속성 값
FromDate
예외 기간의 시작을 가져오거나 설정합니다.
public DateTime FromDate { get; set; }
속성 값
Month
예외 반복이 예정된 월을 가져오거나 설정합니다.
public Month Month { get; set; }
속성 값
MonthDay
예외 반복이 예정된 월의 날짜를 가져오거나 설정합니다.
public int MonthDay { get; set; }
속성 값
MonthItem
예외 반복이 예정된 월 항목을 가져오거나 설정합니다.
public MonthItemType MonthItem { get; set; }
속성 값
MonthPosition
월 내에서 월 항목의 위치를 가져오거나 설정합니다.
public MonthPosition MonthPosition { get; set; }
속성 값
Name
예외의 이름을 가져오거나 설정합니다.
public string Name { get; set; }
속성 값
Occurrences
일정 예외가 유효한 발생 횟수를 가져오거나 설정합니다.
public int Occurrences { get; set; }
속성 값
ParentCalendar
이 객체의 부모 캘린더를 가져옵니다.
public Calendar ParentCalendar { get; }
속성 값
Period
예외의 반복 기간을 가져오거나 설정합니다.
public int Period { get; set; }
속성 값
ToDate
예외 기간의 끝을 가져오거나 설정합니다.
public DateTime ToDate { get; set; }
속성 값
Type
예외 유형을 가져오거나 설정합니다.
public CalendarExceptionType Type { get; set; }
속성 값
WorkingTimes
WorkingTimeCollection 객체를 가져오거나 설정합니다.
주중에 작업한 시간을 정의하는 작업 시간의 모음입니다.
public WorkingTimeCollection WorkingTimes { get; set; }
속성 값
메서드
CheckException(DateTime)
지정된 System.DateTime 구조체 인스턴스가 예외일 경우 true를 반환합니다.
public bool CheckException(DateTime dt)
매개변수
dt
DateTime
지정된 System.DateTime 구조체 인스턴스입니다.
반환값
System.DateTime 값이 예외일 경우 true를 반환하며, 그렇지 않으면 false를 반환합니다.
Delete()
부모 캘린더 CalendarExceptionCollection 객체에서 예외 인스턴스를 삭제합니다.
public void Delete()
GetExceptionDates()
일정 예외가 적용되는 날짜를 반환합니다.
public IEnumerable<datetime> GetExceptionDates()
반환값
IEnumerable<DateTime>
일정 예외가 적용되는 예외 날짜의 컬렉션을 반환합니다.
GetWorkingTime()
일정 예외에 대한 작업 시간을 반환합니다.
public TimeSpan GetWorkingTime()
반환값
이 일정 예외에 대한 작업 시간을 반환합니다.