Should org.joda.time.DateTimeZone
be defined as static
in a class instead of creating a new instance each time it's needed, specially when we're always using the same time zone.
DateTimeZone
is thread-safe and immutable so it does not make sense to create a new instance each time. Is my thinking correct?
To add more details, currently my class creates a DateTimeZone
object in the constructor of my class, always for the same time zone, so I thought why not make it static instead of creating a new object each time.