// Code generated by ent, DO NOT EDIT.

package task

import (
	"time"

	"entgo.io/ent/dialect/sql"
	"entgo.io/ent/dialect/sql/sqlgraph"
	"github.com/AvengeMedia/dankcalendar/core/ent/predicate"
)

// ID filters vertices based on their ID field.
func ID(id string) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldID, id))
}

// IDEQ applies the EQ predicate on the ID field.
func IDEQ(id string) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldID, id))
}

// IDNEQ applies the NEQ predicate on the ID field.
func IDNEQ(id string) predicate.Task {
	return predicate.Task(sql.FieldNEQ(FieldID, id))
}

// IDIn applies the In predicate on the ID field.
func IDIn(ids ...string) predicate.Task {
	return predicate.Task(sql.FieldIn(FieldID, ids...))
}

// IDNotIn applies the NotIn predicate on the ID field.
func IDNotIn(ids ...string) predicate.Task {
	return predicate.Task(sql.FieldNotIn(FieldID, ids...))
}

// IDGT applies the GT predicate on the ID field.
func IDGT(id string) predicate.Task {
	return predicate.Task(sql.FieldGT(FieldID, id))
}

// IDGTE applies the GTE predicate on the ID field.
func IDGTE(id string) predicate.Task {
	return predicate.Task(sql.FieldGTE(FieldID, id))
}

// IDLT applies the LT predicate on the ID field.
func IDLT(id string) predicate.Task {
	return predicate.Task(sql.FieldLT(FieldID, id))
}

// IDLTE applies the LTE predicate on the ID field.
func IDLTE(id string) predicate.Task {
	return predicate.Task(sql.FieldLTE(FieldID, id))
}

// IDEqualFold applies the EqualFold predicate on the ID field.
func IDEqualFold(id string) predicate.Task {
	return predicate.Task(sql.FieldEqualFold(FieldID, id))
}

// IDContainsFold applies the ContainsFold predicate on the ID field.
func IDContainsFold(id string) predicate.Task {
	return predicate.Task(sql.FieldContainsFold(FieldID, id))
}

// UID applies equality check predicate on the "uid" field. It's identical to UIDEQ.
func UID(v string) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldUID, v))
}

// RemoteID applies equality check predicate on the "remote_id" field. It's identical to RemoteIDEQ.
func RemoteID(v string) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldRemoteID, v))
}

// Etag applies equality check predicate on the "etag" field. It's identical to EtagEQ.
func Etag(v string) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldEtag, v))
}

// Summary applies equality check predicate on the "summary" field. It's identical to SummaryEQ.
func Summary(v string) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldSummary, v))
}

// Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func Description(v string) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldDescription, v))
}

// Location applies equality check predicate on the "location" field. It's identical to LocationEQ.
func Location(v string) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldLocation, v))
}

// Priority applies equality check predicate on the "priority" field. It's identical to PriorityEQ.
func Priority(v int) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldPriority, v))
}

// PercentComplete applies equality check predicate on the "percent_complete" field. It's identical to PercentCompleteEQ.
func PercentComplete(v int) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldPercentComplete, v))
}

// Due applies equality check predicate on the "due" field. It's identical to DueEQ.
func Due(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldDue, v))
}

// Start applies equality check predicate on the "start" field. It's identical to StartEQ.
func Start(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldStart, v))
}

// Completed applies equality check predicate on the "completed" field. It's identical to CompletedEQ.
func Completed(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldCompleted, v))
}

// AllDay applies equality check predicate on the "all_day" field. It's identical to AllDayEQ.
func AllDay(v bool) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldAllDay, v))
}

// DueTz applies equality check predicate on the "due_tz" field. It's identical to DueTzEQ.
func DueTz(v string) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldDueTz, v))
}

// StartTz applies equality check predicate on the "start_tz" field. It's identical to StartTzEQ.
func StartTz(v string) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldStartTz, v))
}

// ParentUID applies equality check predicate on the "parent_uid" field. It's identical to ParentUIDEQ.
func ParentUID(v string) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldParentUID, v))
}

// RawIcs applies equality check predicate on the "raw_ics" field. It's identical to RawIcsEQ.
func RawIcs(v string) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldRawIcs, v))
}

// Created applies equality check predicate on the "created" field. It's identical to CreatedEQ.
func Created(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldCreated, v))
}

// Updated applies equality check predicate on the "updated" field. It's identical to UpdatedEQ.
func Updated(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldUpdated, v))
}

// UIDEQ applies the EQ predicate on the "uid" field.
func UIDEQ(v string) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldUID, v))
}

// UIDNEQ applies the NEQ predicate on the "uid" field.
func UIDNEQ(v string) predicate.Task {
	return predicate.Task(sql.FieldNEQ(FieldUID, v))
}

// UIDIn applies the In predicate on the "uid" field.
func UIDIn(vs ...string) predicate.Task {
	return predicate.Task(sql.FieldIn(FieldUID, vs...))
}

// UIDNotIn applies the NotIn predicate on the "uid" field.
func UIDNotIn(vs ...string) predicate.Task {
	return predicate.Task(sql.FieldNotIn(FieldUID, vs...))
}

// UIDGT applies the GT predicate on the "uid" field.
func UIDGT(v string) predicate.Task {
	return predicate.Task(sql.FieldGT(FieldUID, v))
}

// UIDGTE applies the GTE predicate on the "uid" field.
func UIDGTE(v string) predicate.Task {
	return predicate.Task(sql.FieldGTE(FieldUID, v))
}

// UIDLT applies the LT predicate on the "uid" field.
func UIDLT(v string) predicate.Task {
	return predicate.Task(sql.FieldLT(FieldUID, v))
}

// UIDLTE applies the LTE predicate on the "uid" field.
func UIDLTE(v string) predicate.Task {
	return predicate.Task(sql.FieldLTE(FieldUID, v))
}

// UIDContains applies the Contains predicate on the "uid" field.
func UIDContains(v string) predicate.Task {
	return predicate.Task(sql.FieldContains(FieldUID, v))
}

// UIDHasPrefix applies the HasPrefix predicate on the "uid" field.
func UIDHasPrefix(v string) predicate.Task {
	return predicate.Task(sql.FieldHasPrefix(FieldUID, v))
}

// UIDHasSuffix applies the HasSuffix predicate on the "uid" field.
func UIDHasSuffix(v string) predicate.Task {
	return predicate.Task(sql.FieldHasSuffix(FieldUID, v))
}

// UIDEqualFold applies the EqualFold predicate on the "uid" field.
func UIDEqualFold(v string) predicate.Task {
	return predicate.Task(sql.FieldEqualFold(FieldUID, v))
}

// UIDContainsFold applies the ContainsFold predicate on the "uid" field.
func UIDContainsFold(v string) predicate.Task {
	return predicate.Task(sql.FieldContainsFold(FieldUID, v))
}

// RemoteIDEQ applies the EQ predicate on the "remote_id" field.
func RemoteIDEQ(v string) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldRemoteID, v))
}

// RemoteIDNEQ applies the NEQ predicate on the "remote_id" field.
func RemoteIDNEQ(v string) predicate.Task {
	return predicate.Task(sql.FieldNEQ(FieldRemoteID, v))
}

// RemoteIDIn applies the In predicate on the "remote_id" field.
func RemoteIDIn(vs ...string) predicate.Task {
	return predicate.Task(sql.FieldIn(FieldRemoteID, vs...))
}

// RemoteIDNotIn applies the NotIn predicate on the "remote_id" field.
func RemoteIDNotIn(vs ...string) predicate.Task {
	return predicate.Task(sql.FieldNotIn(FieldRemoteID, vs...))
}

// RemoteIDGT applies the GT predicate on the "remote_id" field.
func RemoteIDGT(v string) predicate.Task {
	return predicate.Task(sql.FieldGT(FieldRemoteID, v))
}

// RemoteIDGTE applies the GTE predicate on the "remote_id" field.
func RemoteIDGTE(v string) predicate.Task {
	return predicate.Task(sql.FieldGTE(FieldRemoteID, v))
}

// RemoteIDLT applies the LT predicate on the "remote_id" field.
func RemoteIDLT(v string) predicate.Task {
	return predicate.Task(sql.FieldLT(FieldRemoteID, v))
}

// RemoteIDLTE applies the LTE predicate on the "remote_id" field.
func RemoteIDLTE(v string) predicate.Task {
	return predicate.Task(sql.FieldLTE(FieldRemoteID, v))
}

// RemoteIDContains applies the Contains predicate on the "remote_id" field.
func RemoteIDContains(v string) predicate.Task {
	return predicate.Task(sql.FieldContains(FieldRemoteID, v))
}

// RemoteIDHasPrefix applies the HasPrefix predicate on the "remote_id" field.
func RemoteIDHasPrefix(v string) predicate.Task {
	return predicate.Task(sql.FieldHasPrefix(FieldRemoteID, v))
}

// RemoteIDHasSuffix applies the HasSuffix predicate on the "remote_id" field.
func RemoteIDHasSuffix(v string) predicate.Task {
	return predicate.Task(sql.FieldHasSuffix(FieldRemoteID, v))
}

// RemoteIDIsNil applies the IsNil predicate on the "remote_id" field.
func RemoteIDIsNil() predicate.Task {
	return predicate.Task(sql.FieldIsNull(FieldRemoteID))
}

// RemoteIDNotNil applies the NotNil predicate on the "remote_id" field.
func RemoteIDNotNil() predicate.Task {
	return predicate.Task(sql.FieldNotNull(FieldRemoteID))
}

// RemoteIDEqualFold applies the EqualFold predicate on the "remote_id" field.
func RemoteIDEqualFold(v string) predicate.Task {
	return predicate.Task(sql.FieldEqualFold(FieldRemoteID, v))
}

// RemoteIDContainsFold applies the ContainsFold predicate on the "remote_id" field.
func RemoteIDContainsFold(v string) predicate.Task {
	return predicate.Task(sql.FieldContainsFold(FieldRemoteID, v))
}

// EtagEQ applies the EQ predicate on the "etag" field.
func EtagEQ(v string) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldEtag, v))
}

// EtagNEQ applies the NEQ predicate on the "etag" field.
func EtagNEQ(v string) predicate.Task {
	return predicate.Task(sql.FieldNEQ(FieldEtag, v))
}

// EtagIn applies the In predicate on the "etag" field.
func EtagIn(vs ...string) predicate.Task {
	return predicate.Task(sql.FieldIn(FieldEtag, vs...))
}

// EtagNotIn applies the NotIn predicate on the "etag" field.
func EtagNotIn(vs ...string) predicate.Task {
	return predicate.Task(sql.FieldNotIn(FieldEtag, vs...))
}

// EtagGT applies the GT predicate on the "etag" field.
func EtagGT(v string) predicate.Task {
	return predicate.Task(sql.FieldGT(FieldEtag, v))
}

// EtagGTE applies the GTE predicate on the "etag" field.
func EtagGTE(v string) predicate.Task {
	return predicate.Task(sql.FieldGTE(FieldEtag, v))
}

// EtagLT applies the LT predicate on the "etag" field.
func EtagLT(v string) predicate.Task {
	return predicate.Task(sql.FieldLT(FieldEtag, v))
}

// EtagLTE applies the LTE predicate on the "etag" field.
func EtagLTE(v string) predicate.Task {
	return predicate.Task(sql.FieldLTE(FieldEtag, v))
}

// EtagContains applies the Contains predicate on the "etag" field.
func EtagContains(v string) predicate.Task {
	return predicate.Task(sql.FieldContains(FieldEtag, v))
}

// EtagHasPrefix applies the HasPrefix predicate on the "etag" field.
func EtagHasPrefix(v string) predicate.Task {
	return predicate.Task(sql.FieldHasPrefix(FieldEtag, v))
}

// EtagHasSuffix applies the HasSuffix predicate on the "etag" field.
func EtagHasSuffix(v string) predicate.Task {
	return predicate.Task(sql.FieldHasSuffix(FieldEtag, v))
}

// EtagIsNil applies the IsNil predicate on the "etag" field.
func EtagIsNil() predicate.Task {
	return predicate.Task(sql.FieldIsNull(FieldEtag))
}

// EtagNotNil applies the NotNil predicate on the "etag" field.
func EtagNotNil() predicate.Task {
	return predicate.Task(sql.FieldNotNull(FieldEtag))
}

// EtagEqualFold applies the EqualFold predicate on the "etag" field.
func EtagEqualFold(v string) predicate.Task {
	return predicate.Task(sql.FieldEqualFold(FieldEtag, v))
}

// EtagContainsFold applies the ContainsFold predicate on the "etag" field.
func EtagContainsFold(v string) predicate.Task {
	return predicate.Task(sql.FieldContainsFold(FieldEtag, v))
}

// SummaryEQ applies the EQ predicate on the "summary" field.
func SummaryEQ(v string) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldSummary, v))
}

// SummaryNEQ applies the NEQ predicate on the "summary" field.
func SummaryNEQ(v string) predicate.Task {
	return predicate.Task(sql.FieldNEQ(FieldSummary, v))
}

// SummaryIn applies the In predicate on the "summary" field.
func SummaryIn(vs ...string) predicate.Task {
	return predicate.Task(sql.FieldIn(FieldSummary, vs...))
}

// SummaryNotIn applies the NotIn predicate on the "summary" field.
func SummaryNotIn(vs ...string) predicate.Task {
	return predicate.Task(sql.FieldNotIn(FieldSummary, vs...))
}

// SummaryGT applies the GT predicate on the "summary" field.
func SummaryGT(v string) predicate.Task {
	return predicate.Task(sql.FieldGT(FieldSummary, v))
}

// SummaryGTE applies the GTE predicate on the "summary" field.
func SummaryGTE(v string) predicate.Task {
	return predicate.Task(sql.FieldGTE(FieldSummary, v))
}

// SummaryLT applies the LT predicate on the "summary" field.
func SummaryLT(v string) predicate.Task {
	return predicate.Task(sql.FieldLT(FieldSummary, v))
}

// SummaryLTE applies the LTE predicate on the "summary" field.
func SummaryLTE(v string) predicate.Task {
	return predicate.Task(sql.FieldLTE(FieldSummary, v))
}

// SummaryContains applies the Contains predicate on the "summary" field.
func SummaryContains(v string) predicate.Task {
	return predicate.Task(sql.FieldContains(FieldSummary, v))
}

// SummaryHasPrefix applies the HasPrefix predicate on the "summary" field.
func SummaryHasPrefix(v string) predicate.Task {
	return predicate.Task(sql.FieldHasPrefix(FieldSummary, v))
}

// SummaryHasSuffix applies the HasSuffix predicate on the "summary" field.
func SummaryHasSuffix(v string) predicate.Task {
	return predicate.Task(sql.FieldHasSuffix(FieldSummary, v))
}

// SummaryEqualFold applies the EqualFold predicate on the "summary" field.
func SummaryEqualFold(v string) predicate.Task {
	return predicate.Task(sql.FieldEqualFold(FieldSummary, v))
}

// SummaryContainsFold applies the ContainsFold predicate on the "summary" field.
func SummaryContainsFold(v string) predicate.Task {
	return predicate.Task(sql.FieldContainsFold(FieldSummary, v))
}

// DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEQ(v string) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldDescription, v))
}

// DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNEQ(v string) predicate.Task {
	return predicate.Task(sql.FieldNEQ(FieldDescription, v))
}

// DescriptionIn applies the In predicate on the "description" field.
func DescriptionIn(vs ...string) predicate.Task {
	return predicate.Task(sql.FieldIn(FieldDescription, vs...))
}

// DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotIn(vs ...string) predicate.Task {
	return predicate.Task(sql.FieldNotIn(FieldDescription, vs...))
}

// DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGT(v string) predicate.Task {
	return predicate.Task(sql.FieldGT(FieldDescription, v))
}

// DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionGTE(v string) predicate.Task {
	return predicate.Task(sql.FieldGTE(FieldDescription, v))
}

// DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLT(v string) predicate.Task {
	return predicate.Task(sql.FieldLT(FieldDescription, v))
}

// DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionLTE(v string) predicate.Task {
	return predicate.Task(sql.FieldLTE(FieldDescription, v))
}

// DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContains(v string) predicate.Task {
	return predicate.Task(sql.FieldContains(FieldDescription, v))
}

// DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasPrefix(v string) predicate.Task {
	return predicate.Task(sql.FieldHasPrefix(FieldDescription, v))
}

// DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionHasSuffix(v string) predicate.Task {
	return predicate.Task(sql.FieldHasSuffix(FieldDescription, v))
}

// DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionIsNil() predicate.Task {
	return predicate.Task(sql.FieldIsNull(FieldDescription))
}

// DescriptionNotNil applies the NotNil predicate on the "description" field.
func DescriptionNotNil() predicate.Task {
	return predicate.Task(sql.FieldNotNull(FieldDescription))
}

// DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionEqualFold(v string) predicate.Task {
	return predicate.Task(sql.FieldEqualFold(FieldDescription, v))
}

// DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionContainsFold(v string) predicate.Task {
	return predicate.Task(sql.FieldContainsFold(FieldDescription, v))
}

// LocationEQ applies the EQ predicate on the "location" field.
func LocationEQ(v string) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldLocation, v))
}

// LocationNEQ applies the NEQ predicate on the "location" field.
func LocationNEQ(v string) predicate.Task {
	return predicate.Task(sql.FieldNEQ(FieldLocation, v))
}

// LocationIn applies the In predicate on the "location" field.
func LocationIn(vs ...string) predicate.Task {
	return predicate.Task(sql.FieldIn(FieldLocation, vs...))
}

// LocationNotIn applies the NotIn predicate on the "location" field.
func LocationNotIn(vs ...string) predicate.Task {
	return predicate.Task(sql.FieldNotIn(FieldLocation, vs...))
}

// LocationGT applies the GT predicate on the "location" field.
func LocationGT(v string) predicate.Task {
	return predicate.Task(sql.FieldGT(FieldLocation, v))
}

// LocationGTE applies the GTE predicate on the "location" field.
func LocationGTE(v string) predicate.Task {
	return predicate.Task(sql.FieldGTE(FieldLocation, v))
}

// LocationLT applies the LT predicate on the "location" field.
func LocationLT(v string) predicate.Task {
	return predicate.Task(sql.FieldLT(FieldLocation, v))
}

// LocationLTE applies the LTE predicate on the "location" field.
func LocationLTE(v string) predicate.Task {
	return predicate.Task(sql.FieldLTE(FieldLocation, v))
}

// LocationContains applies the Contains predicate on the "location" field.
func LocationContains(v string) predicate.Task {
	return predicate.Task(sql.FieldContains(FieldLocation, v))
}

// LocationHasPrefix applies the HasPrefix predicate on the "location" field.
func LocationHasPrefix(v string) predicate.Task {
	return predicate.Task(sql.FieldHasPrefix(FieldLocation, v))
}

// LocationHasSuffix applies the HasSuffix predicate on the "location" field.
func LocationHasSuffix(v string) predicate.Task {
	return predicate.Task(sql.FieldHasSuffix(FieldLocation, v))
}

// LocationIsNil applies the IsNil predicate on the "location" field.
func LocationIsNil() predicate.Task {
	return predicate.Task(sql.FieldIsNull(FieldLocation))
}

// LocationNotNil applies the NotNil predicate on the "location" field.
func LocationNotNil() predicate.Task {
	return predicate.Task(sql.FieldNotNull(FieldLocation))
}

// LocationEqualFold applies the EqualFold predicate on the "location" field.
func LocationEqualFold(v string) predicate.Task {
	return predicate.Task(sql.FieldEqualFold(FieldLocation, v))
}

// LocationContainsFold applies the ContainsFold predicate on the "location" field.
func LocationContainsFold(v string) predicate.Task {
	return predicate.Task(sql.FieldContainsFold(FieldLocation, v))
}

// StatusEQ applies the EQ predicate on the "status" field.
func StatusEQ(v Status) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldStatus, v))
}

// StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNEQ(v Status) predicate.Task {
	return predicate.Task(sql.FieldNEQ(FieldStatus, v))
}

// StatusIn applies the In predicate on the "status" field.
func StatusIn(vs ...Status) predicate.Task {
	return predicate.Task(sql.FieldIn(FieldStatus, vs...))
}

// StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotIn(vs ...Status) predicate.Task {
	return predicate.Task(sql.FieldNotIn(FieldStatus, vs...))
}

// PriorityEQ applies the EQ predicate on the "priority" field.
func PriorityEQ(v int) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldPriority, v))
}

// PriorityNEQ applies the NEQ predicate on the "priority" field.
func PriorityNEQ(v int) predicate.Task {
	return predicate.Task(sql.FieldNEQ(FieldPriority, v))
}

// PriorityIn applies the In predicate on the "priority" field.
func PriorityIn(vs ...int) predicate.Task {
	return predicate.Task(sql.FieldIn(FieldPriority, vs...))
}

// PriorityNotIn applies the NotIn predicate on the "priority" field.
func PriorityNotIn(vs ...int) predicate.Task {
	return predicate.Task(sql.FieldNotIn(FieldPriority, vs...))
}

// PriorityGT applies the GT predicate on the "priority" field.
func PriorityGT(v int) predicate.Task {
	return predicate.Task(sql.FieldGT(FieldPriority, v))
}

// PriorityGTE applies the GTE predicate on the "priority" field.
func PriorityGTE(v int) predicate.Task {
	return predicate.Task(sql.FieldGTE(FieldPriority, v))
}

// PriorityLT applies the LT predicate on the "priority" field.
func PriorityLT(v int) predicate.Task {
	return predicate.Task(sql.FieldLT(FieldPriority, v))
}

// PriorityLTE applies the LTE predicate on the "priority" field.
func PriorityLTE(v int) predicate.Task {
	return predicate.Task(sql.FieldLTE(FieldPriority, v))
}

// PercentCompleteEQ applies the EQ predicate on the "percent_complete" field.
func PercentCompleteEQ(v int) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldPercentComplete, v))
}

// PercentCompleteNEQ applies the NEQ predicate on the "percent_complete" field.
func PercentCompleteNEQ(v int) predicate.Task {
	return predicate.Task(sql.FieldNEQ(FieldPercentComplete, v))
}

// PercentCompleteIn applies the In predicate on the "percent_complete" field.
func PercentCompleteIn(vs ...int) predicate.Task {
	return predicate.Task(sql.FieldIn(FieldPercentComplete, vs...))
}

// PercentCompleteNotIn applies the NotIn predicate on the "percent_complete" field.
func PercentCompleteNotIn(vs ...int) predicate.Task {
	return predicate.Task(sql.FieldNotIn(FieldPercentComplete, vs...))
}

// PercentCompleteGT applies the GT predicate on the "percent_complete" field.
func PercentCompleteGT(v int) predicate.Task {
	return predicate.Task(sql.FieldGT(FieldPercentComplete, v))
}

// PercentCompleteGTE applies the GTE predicate on the "percent_complete" field.
func PercentCompleteGTE(v int) predicate.Task {
	return predicate.Task(sql.FieldGTE(FieldPercentComplete, v))
}

// PercentCompleteLT applies the LT predicate on the "percent_complete" field.
func PercentCompleteLT(v int) predicate.Task {
	return predicate.Task(sql.FieldLT(FieldPercentComplete, v))
}

// PercentCompleteLTE applies the LTE predicate on the "percent_complete" field.
func PercentCompleteLTE(v int) predicate.Task {
	return predicate.Task(sql.FieldLTE(FieldPercentComplete, v))
}

// DueEQ applies the EQ predicate on the "due" field.
func DueEQ(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldDue, v))
}

// DueNEQ applies the NEQ predicate on the "due" field.
func DueNEQ(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldNEQ(FieldDue, v))
}

// DueIn applies the In predicate on the "due" field.
func DueIn(vs ...time.Time) predicate.Task {
	return predicate.Task(sql.FieldIn(FieldDue, vs...))
}

// DueNotIn applies the NotIn predicate on the "due" field.
func DueNotIn(vs ...time.Time) predicate.Task {
	return predicate.Task(sql.FieldNotIn(FieldDue, vs...))
}

// DueGT applies the GT predicate on the "due" field.
func DueGT(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldGT(FieldDue, v))
}

// DueGTE applies the GTE predicate on the "due" field.
func DueGTE(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldGTE(FieldDue, v))
}

// DueLT applies the LT predicate on the "due" field.
func DueLT(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldLT(FieldDue, v))
}

// DueLTE applies the LTE predicate on the "due" field.
func DueLTE(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldLTE(FieldDue, v))
}

// DueIsNil applies the IsNil predicate on the "due" field.
func DueIsNil() predicate.Task {
	return predicate.Task(sql.FieldIsNull(FieldDue))
}

// DueNotNil applies the NotNil predicate on the "due" field.
func DueNotNil() predicate.Task {
	return predicate.Task(sql.FieldNotNull(FieldDue))
}

// StartEQ applies the EQ predicate on the "start" field.
func StartEQ(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldStart, v))
}

// StartNEQ applies the NEQ predicate on the "start" field.
func StartNEQ(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldNEQ(FieldStart, v))
}

// StartIn applies the In predicate on the "start" field.
func StartIn(vs ...time.Time) predicate.Task {
	return predicate.Task(sql.FieldIn(FieldStart, vs...))
}

// StartNotIn applies the NotIn predicate on the "start" field.
func StartNotIn(vs ...time.Time) predicate.Task {
	return predicate.Task(sql.FieldNotIn(FieldStart, vs...))
}

// StartGT applies the GT predicate on the "start" field.
func StartGT(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldGT(FieldStart, v))
}

// StartGTE applies the GTE predicate on the "start" field.
func StartGTE(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldGTE(FieldStart, v))
}

// StartLT applies the LT predicate on the "start" field.
func StartLT(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldLT(FieldStart, v))
}

// StartLTE applies the LTE predicate on the "start" field.
func StartLTE(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldLTE(FieldStart, v))
}

// StartIsNil applies the IsNil predicate on the "start" field.
func StartIsNil() predicate.Task {
	return predicate.Task(sql.FieldIsNull(FieldStart))
}

// StartNotNil applies the NotNil predicate on the "start" field.
func StartNotNil() predicate.Task {
	return predicate.Task(sql.FieldNotNull(FieldStart))
}

// CompletedEQ applies the EQ predicate on the "completed" field.
func CompletedEQ(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldCompleted, v))
}

// CompletedNEQ applies the NEQ predicate on the "completed" field.
func CompletedNEQ(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldNEQ(FieldCompleted, v))
}

// CompletedIn applies the In predicate on the "completed" field.
func CompletedIn(vs ...time.Time) predicate.Task {
	return predicate.Task(sql.FieldIn(FieldCompleted, vs...))
}

// CompletedNotIn applies the NotIn predicate on the "completed" field.
func CompletedNotIn(vs ...time.Time) predicate.Task {
	return predicate.Task(sql.FieldNotIn(FieldCompleted, vs...))
}

// CompletedGT applies the GT predicate on the "completed" field.
func CompletedGT(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldGT(FieldCompleted, v))
}

// CompletedGTE applies the GTE predicate on the "completed" field.
func CompletedGTE(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldGTE(FieldCompleted, v))
}

// CompletedLT applies the LT predicate on the "completed" field.
func CompletedLT(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldLT(FieldCompleted, v))
}

// CompletedLTE applies the LTE predicate on the "completed" field.
func CompletedLTE(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldLTE(FieldCompleted, v))
}

// CompletedIsNil applies the IsNil predicate on the "completed" field.
func CompletedIsNil() predicate.Task {
	return predicate.Task(sql.FieldIsNull(FieldCompleted))
}

// CompletedNotNil applies the NotNil predicate on the "completed" field.
func CompletedNotNil() predicate.Task {
	return predicate.Task(sql.FieldNotNull(FieldCompleted))
}

// AllDayEQ applies the EQ predicate on the "all_day" field.
func AllDayEQ(v bool) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldAllDay, v))
}

// AllDayNEQ applies the NEQ predicate on the "all_day" field.
func AllDayNEQ(v bool) predicate.Task {
	return predicate.Task(sql.FieldNEQ(FieldAllDay, v))
}

// DueTzEQ applies the EQ predicate on the "due_tz" field.
func DueTzEQ(v string) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldDueTz, v))
}

// DueTzNEQ applies the NEQ predicate on the "due_tz" field.
func DueTzNEQ(v string) predicate.Task {
	return predicate.Task(sql.FieldNEQ(FieldDueTz, v))
}

// DueTzIn applies the In predicate on the "due_tz" field.
func DueTzIn(vs ...string) predicate.Task {
	return predicate.Task(sql.FieldIn(FieldDueTz, vs...))
}

// DueTzNotIn applies the NotIn predicate on the "due_tz" field.
func DueTzNotIn(vs ...string) predicate.Task {
	return predicate.Task(sql.FieldNotIn(FieldDueTz, vs...))
}

// DueTzGT applies the GT predicate on the "due_tz" field.
func DueTzGT(v string) predicate.Task {
	return predicate.Task(sql.FieldGT(FieldDueTz, v))
}

// DueTzGTE applies the GTE predicate on the "due_tz" field.
func DueTzGTE(v string) predicate.Task {
	return predicate.Task(sql.FieldGTE(FieldDueTz, v))
}

// DueTzLT applies the LT predicate on the "due_tz" field.
func DueTzLT(v string) predicate.Task {
	return predicate.Task(sql.FieldLT(FieldDueTz, v))
}

// DueTzLTE applies the LTE predicate on the "due_tz" field.
func DueTzLTE(v string) predicate.Task {
	return predicate.Task(sql.FieldLTE(FieldDueTz, v))
}

// DueTzContains applies the Contains predicate on the "due_tz" field.
func DueTzContains(v string) predicate.Task {
	return predicate.Task(sql.FieldContains(FieldDueTz, v))
}

// DueTzHasPrefix applies the HasPrefix predicate on the "due_tz" field.
func DueTzHasPrefix(v string) predicate.Task {
	return predicate.Task(sql.FieldHasPrefix(FieldDueTz, v))
}

// DueTzHasSuffix applies the HasSuffix predicate on the "due_tz" field.
func DueTzHasSuffix(v string) predicate.Task {
	return predicate.Task(sql.FieldHasSuffix(FieldDueTz, v))
}

// DueTzIsNil applies the IsNil predicate on the "due_tz" field.
func DueTzIsNil() predicate.Task {
	return predicate.Task(sql.FieldIsNull(FieldDueTz))
}

// DueTzNotNil applies the NotNil predicate on the "due_tz" field.
func DueTzNotNil() predicate.Task {
	return predicate.Task(sql.FieldNotNull(FieldDueTz))
}

// DueTzEqualFold applies the EqualFold predicate on the "due_tz" field.
func DueTzEqualFold(v string) predicate.Task {
	return predicate.Task(sql.FieldEqualFold(FieldDueTz, v))
}

// DueTzContainsFold applies the ContainsFold predicate on the "due_tz" field.
func DueTzContainsFold(v string) predicate.Task {
	return predicate.Task(sql.FieldContainsFold(FieldDueTz, v))
}

// StartTzEQ applies the EQ predicate on the "start_tz" field.
func StartTzEQ(v string) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldStartTz, v))
}

// StartTzNEQ applies the NEQ predicate on the "start_tz" field.
func StartTzNEQ(v string) predicate.Task {
	return predicate.Task(sql.FieldNEQ(FieldStartTz, v))
}

// StartTzIn applies the In predicate on the "start_tz" field.
func StartTzIn(vs ...string) predicate.Task {
	return predicate.Task(sql.FieldIn(FieldStartTz, vs...))
}

// StartTzNotIn applies the NotIn predicate on the "start_tz" field.
func StartTzNotIn(vs ...string) predicate.Task {
	return predicate.Task(sql.FieldNotIn(FieldStartTz, vs...))
}

// StartTzGT applies the GT predicate on the "start_tz" field.
func StartTzGT(v string) predicate.Task {
	return predicate.Task(sql.FieldGT(FieldStartTz, v))
}

// StartTzGTE applies the GTE predicate on the "start_tz" field.
func StartTzGTE(v string) predicate.Task {
	return predicate.Task(sql.FieldGTE(FieldStartTz, v))
}

// StartTzLT applies the LT predicate on the "start_tz" field.
func StartTzLT(v string) predicate.Task {
	return predicate.Task(sql.FieldLT(FieldStartTz, v))
}

// StartTzLTE applies the LTE predicate on the "start_tz" field.
func StartTzLTE(v string) predicate.Task {
	return predicate.Task(sql.FieldLTE(FieldStartTz, v))
}

// StartTzContains applies the Contains predicate on the "start_tz" field.
func StartTzContains(v string) predicate.Task {
	return predicate.Task(sql.FieldContains(FieldStartTz, v))
}

// StartTzHasPrefix applies the HasPrefix predicate on the "start_tz" field.
func StartTzHasPrefix(v string) predicate.Task {
	return predicate.Task(sql.FieldHasPrefix(FieldStartTz, v))
}

// StartTzHasSuffix applies the HasSuffix predicate on the "start_tz" field.
func StartTzHasSuffix(v string) predicate.Task {
	return predicate.Task(sql.FieldHasSuffix(FieldStartTz, v))
}

// StartTzIsNil applies the IsNil predicate on the "start_tz" field.
func StartTzIsNil() predicate.Task {
	return predicate.Task(sql.FieldIsNull(FieldStartTz))
}

// StartTzNotNil applies the NotNil predicate on the "start_tz" field.
func StartTzNotNil() predicate.Task {
	return predicate.Task(sql.FieldNotNull(FieldStartTz))
}

// StartTzEqualFold applies the EqualFold predicate on the "start_tz" field.
func StartTzEqualFold(v string) predicate.Task {
	return predicate.Task(sql.FieldEqualFold(FieldStartTz, v))
}

// StartTzContainsFold applies the ContainsFold predicate on the "start_tz" field.
func StartTzContainsFold(v string) predicate.Task {
	return predicate.Task(sql.FieldContainsFold(FieldStartTz, v))
}

// ParentUIDEQ applies the EQ predicate on the "parent_uid" field.
func ParentUIDEQ(v string) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldParentUID, v))
}

// ParentUIDNEQ applies the NEQ predicate on the "parent_uid" field.
func ParentUIDNEQ(v string) predicate.Task {
	return predicate.Task(sql.FieldNEQ(FieldParentUID, v))
}

// ParentUIDIn applies the In predicate on the "parent_uid" field.
func ParentUIDIn(vs ...string) predicate.Task {
	return predicate.Task(sql.FieldIn(FieldParentUID, vs...))
}

// ParentUIDNotIn applies the NotIn predicate on the "parent_uid" field.
func ParentUIDNotIn(vs ...string) predicate.Task {
	return predicate.Task(sql.FieldNotIn(FieldParentUID, vs...))
}

// ParentUIDGT applies the GT predicate on the "parent_uid" field.
func ParentUIDGT(v string) predicate.Task {
	return predicate.Task(sql.FieldGT(FieldParentUID, v))
}

// ParentUIDGTE applies the GTE predicate on the "parent_uid" field.
func ParentUIDGTE(v string) predicate.Task {
	return predicate.Task(sql.FieldGTE(FieldParentUID, v))
}

// ParentUIDLT applies the LT predicate on the "parent_uid" field.
func ParentUIDLT(v string) predicate.Task {
	return predicate.Task(sql.FieldLT(FieldParentUID, v))
}

// ParentUIDLTE applies the LTE predicate on the "parent_uid" field.
func ParentUIDLTE(v string) predicate.Task {
	return predicate.Task(sql.FieldLTE(FieldParentUID, v))
}

// ParentUIDContains applies the Contains predicate on the "parent_uid" field.
func ParentUIDContains(v string) predicate.Task {
	return predicate.Task(sql.FieldContains(FieldParentUID, v))
}

// ParentUIDHasPrefix applies the HasPrefix predicate on the "parent_uid" field.
func ParentUIDHasPrefix(v string) predicate.Task {
	return predicate.Task(sql.FieldHasPrefix(FieldParentUID, v))
}

// ParentUIDHasSuffix applies the HasSuffix predicate on the "parent_uid" field.
func ParentUIDHasSuffix(v string) predicate.Task {
	return predicate.Task(sql.FieldHasSuffix(FieldParentUID, v))
}

// ParentUIDIsNil applies the IsNil predicate on the "parent_uid" field.
func ParentUIDIsNil() predicate.Task {
	return predicate.Task(sql.FieldIsNull(FieldParentUID))
}

// ParentUIDNotNil applies the NotNil predicate on the "parent_uid" field.
func ParentUIDNotNil() predicate.Task {
	return predicate.Task(sql.FieldNotNull(FieldParentUID))
}

// ParentUIDEqualFold applies the EqualFold predicate on the "parent_uid" field.
func ParentUIDEqualFold(v string) predicate.Task {
	return predicate.Task(sql.FieldEqualFold(FieldParentUID, v))
}

// ParentUIDContainsFold applies the ContainsFold predicate on the "parent_uid" field.
func ParentUIDContainsFold(v string) predicate.Task {
	return predicate.Task(sql.FieldContainsFold(FieldParentUID, v))
}

// RecurrenceIsNil applies the IsNil predicate on the "recurrence" field.
func RecurrenceIsNil() predicate.Task {
	return predicate.Task(sql.FieldIsNull(FieldRecurrence))
}

// RecurrenceNotNil applies the NotNil predicate on the "recurrence" field.
func RecurrenceNotNil() predicate.Task {
	return predicate.Task(sql.FieldNotNull(FieldRecurrence))
}

// RemindersIsNil applies the IsNil predicate on the "reminders" field.
func RemindersIsNil() predicate.Task {
	return predicate.Task(sql.FieldIsNull(FieldReminders))
}

// RemindersNotNil applies the NotNil predicate on the "reminders" field.
func RemindersNotNil() predicate.Task {
	return predicate.Task(sql.FieldNotNull(FieldReminders))
}

// CategoriesIsNil applies the IsNil predicate on the "categories" field.
func CategoriesIsNil() predicate.Task {
	return predicate.Task(sql.FieldIsNull(FieldCategories))
}

// CategoriesNotNil applies the NotNil predicate on the "categories" field.
func CategoriesNotNil() predicate.Task {
	return predicate.Task(sql.FieldNotNull(FieldCategories))
}

// RawIcsEQ applies the EQ predicate on the "raw_ics" field.
func RawIcsEQ(v string) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldRawIcs, v))
}

// RawIcsNEQ applies the NEQ predicate on the "raw_ics" field.
func RawIcsNEQ(v string) predicate.Task {
	return predicate.Task(sql.FieldNEQ(FieldRawIcs, v))
}

// RawIcsIn applies the In predicate on the "raw_ics" field.
func RawIcsIn(vs ...string) predicate.Task {
	return predicate.Task(sql.FieldIn(FieldRawIcs, vs...))
}

// RawIcsNotIn applies the NotIn predicate on the "raw_ics" field.
func RawIcsNotIn(vs ...string) predicate.Task {
	return predicate.Task(sql.FieldNotIn(FieldRawIcs, vs...))
}

// RawIcsGT applies the GT predicate on the "raw_ics" field.
func RawIcsGT(v string) predicate.Task {
	return predicate.Task(sql.FieldGT(FieldRawIcs, v))
}

// RawIcsGTE applies the GTE predicate on the "raw_ics" field.
func RawIcsGTE(v string) predicate.Task {
	return predicate.Task(sql.FieldGTE(FieldRawIcs, v))
}

// RawIcsLT applies the LT predicate on the "raw_ics" field.
func RawIcsLT(v string) predicate.Task {
	return predicate.Task(sql.FieldLT(FieldRawIcs, v))
}

// RawIcsLTE applies the LTE predicate on the "raw_ics" field.
func RawIcsLTE(v string) predicate.Task {
	return predicate.Task(sql.FieldLTE(FieldRawIcs, v))
}

// RawIcsContains applies the Contains predicate on the "raw_ics" field.
func RawIcsContains(v string) predicate.Task {
	return predicate.Task(sql.FieldContains(FieldRawIcs, v))
}

// RawIcsHasPrefix applies the HasPrefix predicate on the "raw_ics" field.
func RawIcsHasPrefix(v string) predicate.Task {
	return predicate.Task(sql.FieldHasPrefix(FieldRawIcs, v))
}

// RawIcsHasSuffix applies the HasSuffix predicate on the "raw_ics" field.
func RawIcsHasSuffix(v string) predicate.Task {
	return predicate.Task(sql.FieldHasSuffix(FieldRawIcs, v))
}

// RawIcsIsNil applies the IsNil predicate on the "raw_ics" field.
func RawIcsIsNil() predicate.Task {
	return predicate.Task(sql.FieldIsNull(FieldRawIcs))
}

// RawIcsNotNil applies the NotNil predicate on the "raw_ics" field.
func RawIcsNotNil() predicate.Task {
	return predicate.Task(sql.FieldNotNull(FieldRawIcs))
}

// RawIcsEqualFold applies the EqualFold predicate on the "raw_ics" field.
func RawIcsEqualFold(v string) predicate.Task {
	return predicate.Task(sql.FieldEqualFold(FieldRawIcs, v))
}

// RawIcsContainsFold applies the ContainsFold predicate on the "raw_ics" field.
func RawIcsContainsFold(v string) predicate.Task {
	return predicate.Task(sql.FieldContainsFold(FieldRawIcs, v))
}

// CreatedEQ applies the EQ predicate on the "created" field.
func CreatedEQ(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldCreated, v))
}

// CreatedNEQ applies the NEQ predicate on the "created" field.
func CreatedNEQ(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldNEQ(FieldCreated, v))
}

// CreatedIn applies the In predicate on the "created" field.
func CreatedIn(vs ...time.Time) predicate.Task {
	return predicate.Task(sql.FieldIn(FieldCreated, vs...))
}

// CreatedNotIn applies the NotIn predicate on the "created" field.
func CreatedNotIn(vs ...time.Time) predicate.Task {
	return predicate.Task(sql.FieldNotIn(FieldCreated, vs...))
}

// CreatedGT applies the GT predicate on the "created" field.
func CreatedGT(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldGT(FieldCreated, v))
}

// CreatedGTE applies the GTE predicate on the "created" field.
func CreatedGTE(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldGTE(FieldCreated, v))
}

// CreatedLT applies the LT predicate on the "created" field.
func CreatedLT(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldLT(FieldCreated, v))
}

// CreatedLTE applies the LTE predicate on the "created" field.
func CreatedLTE(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldLTE(FieldCreated, v))
}

// UpdatedEQ applies the EQ predicate on the "updated" field.
func UpdatedEQ(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldEQ(FieldUpdated, v))
}

// UpdatedNEQ applies the NEQ predicate on the "updated" field.
func UpdatedNEQ(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldNEQ(FieldUpdated, v))
}

// UpdatedIn applies the In predicate on the "updated" field.
func UpdatedIn(vs ...time.Time) predicate.Task {
	return predicate.Task(sql.FieldIn(FieldUpdated, vs...))
}

// UpdatedNotIn applies the NotIn predicate on the "updated" field.
func UpdatedNotIn(vs ...time.Time) predicate.Task {
	return predicate.Task(sql.FieldNotIn(FieldUpdated, vs...))
}

// UpdatedGT applies the GT predicate on the "updated" field.
func UpdatedGT(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldGT(FieldUpdated, v))
}

// UpdatedGTE applies the GTE predicate on the "updated" field.
func UpdatedGTE(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldGTE(FieldUpdated, v))
}

// UpdatedLT applies the LT predicate on the "updated" field.
func UpdatedLT(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldLT(FieldUpdated, v))
}

// UpdatedLTE applies the LTE predicate on the "updated" field.
func UpdatedLTE(v time.Time) predicate.Task {
	return predicate.Task(sql.FieldLTE(FieldUpdated, v))
}

// HasCalendar applies the HasEdge predicate on the "calendar" edge.
func HasCalendar() predicate.Task {
	return predicate.Task(func(s *sql.Selector) {
		step := sqlgraph.NewStep(
			sqlgraph.From(Table, FieldID),
			sqlgraph.Edge(sqlgraph.M2O, true, CalendarTable, CalendarColumn),
		)
		sqlgraph.HasNeighbors(s, step)
	})
}

// HasCalendarWith applies the HasEdge predicate on the "calendar" edge with a given conditions (other predicates).
func HasCalendarWith(preds ...predicate.Calendar) predicate.Task {
	return predicate.Task(func(s *sql.Selector) {
		step := newCalendarStep()
		sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) {
			for _, p := range preds {
				p(s)
			}
		})
	})
}

// And groups predicates with the AND operator between them.
func And(predicates ...predicate.Task) predicate.Task {
	return predicate.Task(sql.AndPredicates(predicates...))
}

// Or groups predicates with the OR operator between them.
func Or(predicates ...predicate.Task) predicate.Task {
	return predicate.Task(sql.OrPredicates(predicates...))
}

// Not applies the not operator on the given predicate.
func Not(p predicate.Task) predicate.Task {
	return predicate.Task(sql.NotPredicates(p))
}
