public class TransformProviderUtils extends Object
Modifier and Type | Field | Description |
---|---|---|
static TransformProvider |
IDENTITY_PROVIDER |
Identity provider.
|
Modifier and Type | Method | Description |
---|---|---|
static TransformProvider |
getCombinedProvider(TransformProvider first,
TransformProvider second) |
Combine two transform providers.
|
static TransformProvider |
getReversedProvider(TransformProvider provider) |
Reverse a transform provider.
|
public static final TransformProvider IDENTITY_PROVIDER
The transforms generated by this providers are always Transform.IDENTITY
.
public static TransformProvider getReversedProvider(TransformProvider provider)
provider
- provider to reverseprovider.getTransform(date).getInverse()
public static TransformProvider getCombinedProvider(TransformProvider first, TransformProvider second)
first
- first provider to applysecond
- second provider to applynew Transform(date, first.getTransform(date), second.getTransform(date))
Copyright © 2002-2018 CS Systèmes d'information. All rights reserved.