Class CalendarException
이름 공간 : Aspose.Tasks 모임: Aspose.Tasks.dll (25.4.0)
일정에 특별한 시간 기간을 나타냅니다.
[ClassInterface(ClassInterfaceType.AutoDual)]
public sealed class CalendarException
Inheritance
상속 회원들
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; }
부동산 가치
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; }
부동산 가치
Methods
CheckException(DateTime)
System.DateTime 구조의 지정된 예제가 예외 날인 경우 반환됩니다.
public bool CheckException(DateTime dt)
Parameters
dt
DateTime
System.DateTime 구조의 특정 사례.
Returns
System.DateTime 값이 예외 날인 경우 반환; 그렇지 않으면 가짜입니다.
Delete()
부모 일정 CalendarExceptionCollection 객체에서 예외 사례를 삭제합니다.
public void Delete()
GetExceptionDates()
일정 예외가 적용되는 날짜를 반환합니다.
public IEnumerable<datetime> GetExceptionDates()
Returns
IEnumerable <에 대한 정보 DateTime >
예외 컬렉션을 반환하면 일정 예외가 적용되는 날짜입니다.
GetWorkingTime()
일정 예외를 위해 작업 시간을 반환합니다.
public TimeSpan GetWorkingTime()
Returns
이 일정 예외에 대한 작업 시간을 반환합니다.