public final class NSCalendarOptions extends Object
Modifier and Type | Field and Description |
---|---|
static int |
NSCalendarMatchFirst
When searching for a given time instance and there are more matching
items the first one is returned.
|
static int |
NSCalendarMatchLast
When searching for a given time instance and there are more matching
items the last one is returned.
|
static int |
NSCalendarMatchNextTime
When searching for a given time instance and there is no exact matching
then an instance is returned which has the next value of the higher units
without preserving the lower units.
|
static int |
NSCalendarMatchNextTimePreservingSmallerUnits
When searching for a given time instance forward and there is no matching
then an instance is returned which has the lower units preserved and the
higher units increased.
|
static int |
NSCalendarMatchPreviousTimePreservingSmallerUnits
When searching for a given time instance backward and there is no
matching then an instance is returned which has the lower units preserved
and the higher units decreased.
|
static int |
NSCalendarMatchStrictly
Searching for a given time instance forward and backward.
|
static int |
NSCalendarSearchBackwards
Searching for a given time instance backward.
|
static int |
NSCalendarWrapComponents
Arithmetic addition.
|
public static final int NSCalendarWrapComponents
public static final int NSCalendarMatchStrictly
public static final int NSCalendarSearchBackwards
public static final int NSCalendarMatchPreviousTimePreservingSmallerUnits
public static final int NSCalendarMatchNextTimePreservingSmallerUnits
public static final int NSCalendarMatchNextTime
public static final int NSCalendarMatchFirst
public static final int NSCalendarMatchLast
Copyright © 2020. All rights reserved.