Search
ResourceViewSettings.getSnapUnit Method
See Also
 






Gets the snap unit.

Namespace: com.mindfusion.scheduling
Package: com.mindfusion.scheduling

 Syntax

Java  Copy Code

public TimeUnit getSnapUnit ()

 Return Value

One of the TimeUnit constants.

 Remarks

Specifies the time unit of the nearest value to align to when an item is being modified interactively. For example specifying TimeUnit.Day causes the manipulated item to always be aligned to the nearest day. To practically disable snapping, specify TimeUnit.Second for this property.

 See Also