examples Package: Date Parsing
examples package also includes a couple of services that demonstrate how to create
GloopDate objects from a
long property, or a
object. As you will see in these Gloop examples, the process is as easy as mapping the source
value to a
GloopDate object either by a map line or through a
Please see the following articles for more information:
1 2 3 4 5 6 7 8 9
examples ├── ... └── code ├── ... └── dateManipulation ├── CustomFormatToGloopDate.gloop ├── EpochSecondsToGloopDate.gloop ├── JavaDateToGloopDate.gloop └── StringToGloopDate.gloop
These services are named after the transformation they demonstrate. Open any of these services and
run them to see how
GloopDate properties are created out of other property types. Line
comments are present to help you understand these services better.
How It Works...
Gloop will try its best to parse the given value using the supported default date
formats. In cases that the date value is not included in the default formats, you can
declare the format of the value to be parsed using the
Date Formats property. To set a custom date format to be
parsed, you can do the following:
- Select the
In the Properties view, click the ellipsis button of the
This will open a dialog where you could put the custom date formats. Once done, click OK.