Table of Contents

Search

  1. Preface
  2. RulePoint
  3. RulePoint Concepts
  4. Using RulePoint
  5. RulePoint Objects
  6. Working with Topics
  7. Working with Connections
  8. Working with Sources
  9. Working with Responders
  10. Working with Responses
  11. Working with Watchlists
  12. Working with Analytics
  13. DRQL
  14. Working with Rules
  15. Working with Alerts
  16. Setting Access Controls
  17. Troubleshooting RulePoint Issues
  18. Connecting to an Ultra Messaging Application
  19. Creating an Ultra Messaging JMS Source

User Guide

User Guide

Date and Number Formatter

Date and Number Formatter

You can format numbers in responses.
Use the date formatter to format an event property that contains the time in milliseconds. You can use the Java’s SimpleDateFormat syntax to format an event from January 1, 1970:
${Mytopic.drql_evenformattedttime(1,date m/d/y)}
Use the number formatter to format an event property that contains a numeric value. You can use the Java’s NumberFormat syntax to format an event that contains a numeric value. The format always appears last in the parenthesized format expression as shown in the following code:
${Stock.price(*,COMMA, number #,##0.0)}

0 COMMENTS

We’d like to hear from you!