
Public Member Functions | |
| String | currentFormattedNST () |
| String | currentFormattedSDF () |
| String | currentNSTExplain () |
| String | currentSDFExplain () |
| NSTimestamp | currentTS () |
| FormattersPage (WOContext context) | |
| WOComponent | incrementDate () |
| void | setCurrentTS (Object value) |
| WOComponent | setDate () |
| NSArray< String > | units () |
Public Attributes | |
| String | chosenUnit |
| String | currentNSTFormat |
| String | currentSDFFormat |
| String | dateString = this.currentTS().toString() |
| Integer | incrementDateBy |
| NSArray | nstKeys = new NSArray(new Object[] { "%a", "%A", "%b", "%B", "%c", "%d", "%e", "%F", "%H", "%I", "%j", "%m", "%M", "%p", "%S", "%w", "%x", "%X", "%y", "%Y", "%Z", "%z" } ) |
| NSArray | sdfKeys = new NSArray(new Object[] { "G", "y", "M", "w", "W", "D", "d", "F", "E", "a", "H", "k", "K", "h", "m", "s", "S", "z", "Z"} ) |
| String | setDateMessage |
| String | unit |
Package Attributes | |
| NSTimestamp | _currentTS |
| NSDictionary | nstFormats = new NSDictionary(nstExplains, nstKeys) |
| NSDictionary | sdfFormats = new NSDictionary(sdfExplains, sdfKeys) |
Static Package Attributes | |
| static NSArray< String > | _units |
| static NSArray | nstExplains |
| static NSArray | sdfExplains |
| FormattersPage | ( | WOContext | context | ) |
| String currentFormattedNST | ( | ) |
| String currentFormattedSDF | ( | ) |
| String currentNSTExplain | ( | ) |
| String currentSDFExplain | ( | ) |
| NSTimestamp currentTS | ( | ) |
| WOComponent incrementDate | ( | ) |
| void setCurrentTS | ( | Object | value | ) |
| WOComponent setDate | ( | ) |
| NSArray<String> units | ( | ) |
NSTimestamp _currentTS [package] |
| String dateString = this.currentTS().toString() |
| Integer incrementDateBy |
NSArray nstExplains [static, package] |
Initial value:
new NSArray(new Object[] { "abbreviated weekday name", "full weekday name", "abbreviated month name", "full month name", "shorthand for \"%X %x\", the locale format for date, time", "day of the month as a decimal number (01-31)", "same as %d but does not print the leading 0 for days 1 - 9", "milliseconds as a decimal number (000-999)", "hour based on a 24-hour clock as a decimal number (00-23)", "hour based on a 12-hour clock as a decimal number (01-12)", "day of the year as a decimal number (001-366)", "month as a decimal number (01-12)", "minute as a decimal number (00-59)", "AM/PM designation for the locale", "second as a decimal number (00-59)", "weekday as a decimal number (0-6), where Sunday is 0.", "date using the date representation for the locale", "time using the time representation for the locale", "year without century (00-99)", "year with century (such as 1990)", "time zone name (such as \"Europe/Paris\" or \"PST\")", "time zone offset from GMT (such as \"+0200\" or \"-1200\")" } )
NSDictionary nstFormats = new NSDictionary(nstExplains, nstKeys) [package] |
| NSArray nstKeys = new NSArray(new Object[] { "%a", "%A", "%b", "%B", "%c", "%d", "%e", "%F", "%H", "%I", "%j", "%m", "%M", "%p", "%S", "%w", "%x", "%X", "%y", "%Y", "%Z", "%z" } ) |
NSArray sdfExplains [static, package] |
Initial value:
new NSArray(new Object[] { "Era designator", "Year", "Month in year", "Week in year", "Week in month", "Day in year", "Day in month", "Day of week in month", "Day in week", "Am/pm marker", "Hour in day (0-23)", "Hour in day (1-24)", "Hour in am/pm (0-11)", "Hour in am/pm (1-12)", "Minute in hour", "Second in minute", "Millisecond", "Time zone", "Time zone" } )
NSDictionary sdfFormats = new NSDictionary(sdfExplains, sdfKeys) [package] |
| NSArray sdfKeys = new NSArray(new Object[] { "G", "y", "M", "w", "W", "D", "d", "F", "E", "a", "H", "k", "K", "h", "m", "s", "S", "z", "Z"} ) |
1.5.8